#2F6540
Closest named color: Pine (#2B5D34). oklch(45.9% 0.084 152), rgb(47, 101, 64).
Aa
White text reads best on this color (6.87:1).
About this color
#2F6540 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.084 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.028 away. White text reads best on it, at 6.87:1.
| Hue family | Greens |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.084) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 3.05:1 |
| White text | 6.87:1 |
Values
| HEX | #2F6540 |
| RGB | rgb(47, 101, 64) |
| HSL | hsl(139, 36%, 29%) |
| OKLCH | oklch(45.9% 0.084 152) |
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 #2F6540 | 6.87:1 | AA | Lc -88.6 | Fine for body text |
| Black text on #2F6540 | 3.05:1 | AA large text | Lc 20.5 | Dividers and decoration only |
| #2F6540 text on white | 6.87:1 | AA | Lc 83.6 | Fine for body text |
| #2F6540 text on black | 3.05:1 | AA large text | Lc -18.4 | 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
#F3F6F4
oklch(97% 0.004 157.2)
-
Step 100
100
#E4ECE6
oklch(93.5% 0.012 153.7)
-
Step 200
200
#CFDED2
oklch(88.6% 0.023 151.6)
-
Step 300
300
#AEC9B4
oklch(81% 0.041 152)
-
Step 400
400
#83AD8D
oklch(70.8% 0.065 151.8)
-
Step 500
500
#629871
oklch(63.1% 0.082 152.3)
-
Step 600
600
#478259
oklch(55.5% 0.089 152.4)
-
Step 700
700 (this color)
#2F6540
oklch(45.9% 0.084 152)
-
Step 800
800
#2F5A3C
oklch(42.7% 0.07 152.2)
-
Step 900
900
#2A4A33
oklch(37.7% 0.055 152)
-
Step 950
950
#192B1E
oklch(26.9% 0.034 152.4)
#2F6540 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) | #655D3E | 0.072 |
| Deuteranopia (no green cones) | #5E5842 | 0.071 |
| Tritanopia (no blue cones) | #23645B | 0.043 |
| Achromatopsia (no color) | #5A5A5A | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F6540
#2F6540
oklch(45.9% 0.084 152)
- #73456C
#73456C
oklch(45.8% 0.084 332.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 #2F6540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.028
- Spruce #0A5F38 ΔE 0.035
- Dark Green Blue #1F6357 ΔE 0.039
- Camo Green #526525 ΔE 0.047
- Army Green #4B5D16 ΔE 0.048
- Camouflage Green #4B6113 ΔE 0.049
- Dark Olive Green #556B2F ΔE 0.054
- Dark Aqua #05696B ΔE 0.064
Use #2F6540 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.