#284E27
Closest named color: Pine Green (#0A481E). oklch(38.5% 0.077 143.4), rgb(40, 78, 39).
Aa
White text reads best on this color (9.50:1).
About this color
#284E27 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.077 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.036 away. White text reads best on it, at 9.50:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Pine Green (#0A481E) |
| Black text | 2.20:1 |
| White text | 9.50:1 |
Values
| HEX | #284E27 |
| RGB | rgb(40, 78, 39) |
| HSL | hsl(118, 33%, 23%) |
| OKLCH | oklch(38.5% 0.077 143.4) |
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 #284E27 | 9.50:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #284E27 | 2.20:1 | Fails | Lc 12.1 | Not readable |
| #284E27 text on white | 9.50:1 | AAA | Lc 91.8 | Preferred for body text |
| #284E27 text on black | 2.20:1 | Fails | Lc -10.5 | 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
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E4EDE3
oklch(93.7% 0.016 142.6)
-
Step 200
200
#CDDFCC
oklch(88.5% 0.032 143.8)
-
Step 300
300
#ABCBA9
oklch(80.9% 0.058 143.5)
-
Step 400
400
#7DB07B
oklch(70.7% 0.093 143.6)
-
Step 500
500
#5B9C58
oklch(63.2% 0.119 143.1)
-
Step 600
600
#3E863D
oklch(55.6% 0.13 143.3)
-
Step 700
700
#30712F
oklch(49% 0.119 143.2)
-
Step 800
800
#295C28
oklch(42.6% 0.099 143.3)
-
Step 900
900 (this color)
#284E27
oklch(38.5% 0.077 143.4)
-
Step 950
950
#172D16
oklch(27.2% 0.05 143.1)
#284E27 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) | #504824 | 0.058 |
| Deuteranopia (no green cones) | #4A442A | 0.058 |
| Tritanopia (no blue cones) | #234C45 | 0.049 |
| Achromatopsia (no color) | #464646 | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #284E27
#284E27
oklch(38.5% 0.077 143.4)
- #57345B
#57345B
oklch(38.3% 0.078 323.2)
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 #284E27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine Green #0A481E ΔE 0.036
- Navy Green #35530A ΔE 0.037
- Evergreen #05472A ΔE 0.038
- British Racing Green #05480D ΔE 0.047
- Darkgreen #054907 ΔE 0.048
- Forest #0B5509 ΔE 0.049
- Pine #2B5D34 ΔE 0.049
- Bottle Green #044A05 ΔE 0.049
Use #284E27 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.