#286F40
Closest named color: Dark Olive Green (#556B2F). oklch(48.4% 0.103 151.6), rgb(40, 111, 64).
Aa
White text reads best on this color (6.10:1).
About this color
#286F40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.103 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.046 away. White text reads best on it, at 6.10:1.
| Hue family | Greens |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.103) |
| Temperature | in between |
| Nearest name | Dark Olive Green (#556B2F) |
| Black text | 3.43:1 |
| White text | 6.10:1 |
Values
| HEX | #286F40 |
| RGB | rgb(40, 111, 64) |
| HSL | hsl(140, 47%, 30%) |
| OKLCH | oklch(48.4% 0.103 151.6) |
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 #286F40 | 6.10:1 | AA | Lc -85.4 | Fine for body text |
| Black text on #286F40 | 3.43:1 | AA large text | Lc 23.8 | Dividers and decoration only |
| #286F40 text on white | 6.10:1 | AA | Lc 80.2 | Fine for body text |
| #286F40 text on black | 3.43:1 | AA large text | Lc -21.6 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F7F3
oklch(97.1% 0.007 151.9)
-
Step 100
100
#E3EDE5
oklch(93.6% 0.015 151.8)
-
Step 200
200
#CCDFD0
oklch(88.5% 0.029 151.9)
-
Step 300
300
#AACAB1
oklch(80.8% 0.049 151.7)
-
Step 400
400
#7BAF88
oklch(70.7% 0.079 151.8)
-
Step 500
500
#579B6A
oklch(63.1% 0.102 151.6)
-
Step 600
600
#398551
oklch(55.5% 0.111 151.5)
-
Step 700
700 (this color)
#286F40
oklch(48.4% 0.103 151.6)
-
Step 800
800
#255C36
oklch(42.7% 0.086 151.2)
-
Step 900
900
#234C2F
oklch(37.8% 0.068 151.4)
-
Step 950
950
#162C1C
oklch(26.9% 0.041 151.6)
#286F40 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) | #6F663D | 0.087 |
| Deuteranopia (no green cones) | #665F43 | 0.087 |
| Tritanopia (no blue cones) | #106D63 | 0.055 |
| Achromatopsia (no color) | #626262 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #286F40
#286F40
oklch(48.4% 0.103 151.6)
- #804779
#804779
oklch(48.4% 0.104 331.7)
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 #286F40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive Green #556B2F ΔE 0.046
- Camo Green #526525 ΔE 0.049
- Camouflage Green #4B6113 ΔE 0.055
- Pine #2B5D34 ΔE 0.055
- Spruce #0A5F38 ΔE 0.056
- Jungle Green #048243 ΔE 0.058
- Dark Green Blue #1F6357 ΔE 0.060
- Dark Moss Green #606C38 ΔE 0.061
Use #286F40 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.