#12540D
Closest named color: Forest (#0B5509). oklch(39.1% 0.12 142.1), rgb(18, 84, 13).
Aa
White text reads best on this color (9.13:1).
About this color
#12540D is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.120 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.006 away. White text reads best on it, at 9.13:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Forest (#0B5509) |
| Black text | 2.29:1 |
| White text | 9.13:1 |
Values
| HEX | #12540D |
| RGB | rgb(18, 84, 13) |
| HSL | hsl(116, 73%, 19%) |
| OKLCH | oklch(39.1% 0.12 142.1) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #12540D | 9.13:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #12540D | 2.29:1 | Fails | Lc 13.4 | Not readable |
| #12540D text on white | 9.13:1 | AAA | Lc 90.6 | Preferred for body text |
| #12540D text on black | 2.29:1 | Fails | Lc -11.7 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E0EFDF
oklch(93.7% 0.027 143.6)
-
Step 200
200
#C7E2C4
oklch(88.5% 0.05 142.4)
-
Step 300
300
#A0D09A
oklch(81% 0.09 141.9)
-
Step 400
400
#68B760
oklch(70.8% 0.145 142)
-
Step 500
500
#35A32D
oklch(63% 0.184 142.1)
-
Step 600
600
#0C8C00
oklch(55.6% 0.187 142.1)
-
Step 700
700
#087600
oklch(49.1% 0.166 142.1)
-
Step 800
800
#056100
oklch(42.8% 0.144 142.1)
-
Step 900
900 (this color)
#12540D
oklch(39.1% 0.12 142.1)
-
Step 950
950
#0B2F08
oklch(27% 0.076 142)
#12540D with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #564B00 | 0.084 |
| Deuteranopia (no green cones) | #4F4615 | 0.085 |
| Tritanopia (no blue cones) | #005147 | 0.079 |
| Achromatopsia (no color) | #484848 | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12540D
#12540D
oklch(39.1% 0.12 142.1)
- #622A6A
#622A6A
oklch(39.1% 0.12 322.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #12540D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Forest #0B5509 ΔE 0.006
- Deep Green #02590F ΔE 0.016
- Navy Green #35530A ΔE 0.031
- Bottle Green #044A05 ΔE 0.035
- Darkgreen #054907 ΔE 0.038
- British Racing Green #05480D ΔE 0.042
- Pine Green #0A481E ΔE 0.048
- Racing Green #014600 ΔE 0.049
Use #12540D in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.