#2F6239#2F6239
#2F6239 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.086 H 148.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6239 |
|---|---|
| RGB | rgb(47, 98, 57) |
| HSL | hsl(132, 35%, 28%) |
| HSV | hsv(132, 52%, 38%) |
| CMYK | cmyk(52%, 0%, 41.8%, 61.6%) |
| CIE-LAB | lab(37.18, -27.10, 18.21) |
| CIE-LCH | lch(37.18, 32.65, 146.10°) |
| OKLab | oklab(44.91% -0.0736 0.0452) |
| OKLCH | oklch(44.91% 0.086 148.4) |
| XYZ | xyz(6.2781, 9.6346, 5.3989) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.68
Hunter Green
#355E3B
ΔE00 2.34
Spruce
#0A5F38
ΔE00 3.99
Forest Green
#2D5A27
ΔE00 4.21
Deep Green
#02590F
ΔE00 8.10
Forest
#0B5509
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6239 #622F58
analogous
#3E622F #2F6239 #2F6252
triadic
#2F6239 #392F62 #62392F
tetradic
#2F6239 #2F3E62 #622F58 #62522F
square
#2F6239 #2F3E62 #622F58 #62522F
split-complementary
#2F6239 #522F62 #622F3E
monochromatic
#0A150C #1B3921 #2F6239 #438B51 #5BB06C
Accessibility & contrast
On white
7.17
#2F6239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2F6239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6239
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6239 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#5C563C
Tritanopia (blue-blind)
#266058
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f6239; /* rgb */ color: rgb(47, 98, 57); /* oklch */ color: oklch(44.9% 0.086 148.4);
Tailwind
colors: {
custom: {
50: '#6b8f70',
500: '#2f6239',
950: '#000000',
},
}SCSS
$custom: #2f6239; $custom-light: #6b8f70; $custom-dark: #000000;
JSON
{
"hex": "#2f6239",
"rgb": {
"r": 47,
"g": 98,
"b": 57
},
"hsl": {
"h": 131.765,
"s": 35.172,
"l": 28.431
},
"oklch": {
"l": 0.44909,
"c": 0.08639,
"h": 148.4
},
"luminance": 0.09635
}Semantic roles & 50–950 ramp
primary
#2F6239
secondary
#945988
accent
#5DB6CB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#070C07
muted
#7A7D7A