#2B5F0B
Closest named color: Dark Green (#006400). oklch(43.3% 0.124 137), rgb(43, 95, 11).
Aa
White text reads best on this color (7.65:1).
About this color
#2B5F0B is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.124 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.028 away. White text reads best on it, at 7.65:1.
| Hue family | Greens |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.124) |
| Temperature | in between |
| Nearest name | Dark Green (#006400) |
| Black text | 2.74:1 |
| White text | 7.65:1 |
Values
| HEX | #2B5F0B |
| RGB | rgb(43, 95, 11) |
| HSL | hsl(97, 79%, 21%) |
| OKLCH | oklch(43.3% 0.124 137) |
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 #2B5F0B | 7.65:1 | AAA | Lc -91.1 | Preferred for body text |
| Black text on #2B5F0B | 2.74:1 | Fails | Lc 17.7 | Dividers and decoration only |
| #2B5F0B text on white | 7.65:1 | AAA | Lc 86.3 | Fine for body text |
| #2B5F0B text on black | 2.74:1 | Fails | Lc -15.8 | 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 800.
-
Step 50
50
#F2F7F1
oklch(97.1% 0.01 140.5)
-
Step 100
100
#E3EDE0
oklch(93.5% 0.02 138.4)
-
Step 200
200
#CDE0C6
oklch(88.5% 0.041 137.2)
-
Step 300
300
#ABCC9E
oklch(80.9% 0.072 136.9)
-
Step 400
400
#7EB168
oklch(70.6% 0.115 136.7)
-
Step 500
500
#5B9D3C
oklch(63% 0.148 137)
-
Step 600
600
#3F8711
oklch(55.5% 0.161 137)
-
Step 700
700
#317200
oklch(49% 0.148 136.9)
-
Step 800
800 (this color)
#2B5F0B
oklch(43.3% 0.124 137)
-
Step 900
900
#264D13
oklch(37.8% 0.097 137.2)
-
Step 950
950
#172D0D
oklch(27% 0.061 137.1)
#2B5F0B 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) | #625600 | 0.077 |
| Deuteranopia (no green cones) | #5C5216 | 0.078 |
| Tritanopia (no blue cones) | #285B50 | 0.088 |
| Achromatopsia (no color) | #535353 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B5F0B
#2B5F0B
oklch(43.3% 0.124 137)
- #6B377D
#6B377D
oklch(43.4% 0.123 316.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 #2B5F0B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Green #006400 ΔE 0.028
- Deep Green #02590F ΔE 0.034
- Navy Green #35530A ΔE 0.038
- Camouflage Green #4B6113 ΔE 0.041
- Army Green #4B5D16 ΔE 0.041
- Forest #0B5509 ΔE 0.043
- Pine #2B5D34 ΔE 0.043
- Spruce #0A5F38 ΔE 0.045
Use #2B5F0B 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.