#284212
Closest named color: Dark Olive (#373E02). oklch(34.6% 0.08 133.3), rgb(40, 66, 18).
Aa
White text reads best on this color (11.18:1).
About this color
#284212 is a dark, moderately saturated green. In OKLCH its lightness is 35%, its chroma 0.080 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.023 away. White text reads best on it, at 11.18:1.
| Hue family | Greens |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.87:1 |
| White text | 11.18:1 |
Values
| HEX | #284212 |
| RGB | rgb(40, 66, 18) |
| HSL | hsl(93, 57%, 16%) |
| OKLCH | oklch(34.6% 0.08 133.3) |
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 #284212 | 11.18:1 | AAA | Lc -99.5 | Preferred for body text |
| Black text on #284212 | 1.87:1 | Fails | Lc 8.2 | Not readable |
| #284212 text on white | 11.18:1 | AAA | Lc 95.7 | Preferred for body text |
| #284212 text on black | 1.87:1 | Fails | Lc 0.0 | 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
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E5EDE1
oklch(93.7% 0.018 134.9)
-
Step 200
200
#D1DEC8
oklch(88.5% 0.033 132.3)
-
Step 300
300
#B2CAA2
oklch(81% 0.061 132.9)
-
Step 400
400
#89AE6F
oklch(70.8% 0.096 133.1)
-
Step 500
500
#6B9948
oklch(63.1% 0.122 133.3)
-
Step 600
600
#528327
oklch(55.5% 0.133 133.3)
-
Step 700
700
#436F1A
oklch(49.2% 0.123 133.3)
-
Step 800
800
#375A18
oklch(42.6% 0.102 133.2)
-
Step 900
900 (this color)
#284212
oklch(34.6% 0.08 133.3)
-
Step 950
950
#1C2C11
oklch(27.1% 0.051 133.9)
#284212 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) | #453C0C | 0.047 |
| Deuteranopia (no green cones) | #413A16 | 0.047 |
| Tritanopia (no blue cones) | #283F38 | 0.059 |
| Achromatopsia (no color) | #3B3B3B | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #284212
#284212
oklch(34.6% 0.08 133.3)
- #482C57
#482C57
oklch(34.7% 0.08 312.9)
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 #284212, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.023
- Forrest Green #154406 ΔE 0.025
- Pine Green #0A481E ΔE 0.028
- Hunter Green #0B4008 ΔE 0.032
- Evergreen #05472A ΔE 0.034
- British Racing Green #05480D ΔE 0.034
- Darkgreen #054907 ΔE 0.038
- Racing Green #014600 ΔE 0.039
Use #284212 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.