#2F7342#2F7342
#2F7342 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.9% C 0.104 H 150.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7342 |
|---|---|
| RGB | rgb(47, 115, 66) |
| HSL | hsl(137, 42%, 32%) |
| HSV | hsv(137, 59%, 45%) |
| CMYK | cmyk(59.1%, 0%, 42.6%, 54.9%) |
| CIE-LAB | lab(43.15, -33.26, 20.82) |
| CIE-LCH | lch(43.15, 39.24, 147.95°) |
| OKLab | oklab(49.85% -0.09 0.0516) |
| OKLCH | oklch(49.85% 0.104 150.2) |
| XYZ | xyz(8.2858, 13.2584, 7.2757) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.87
Jungle Green
#048243
ΔE00 6.00
Pine
#2B5D34
ΔE00 7.44
Spruce
#0A5F38
ΔE00 7.51
Hunter Green
#355E3B
ΔE00 7.76
Dark Sea Green
#11875D
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7342 #732F60
analogous
#3E732F #2F7342 #2F7364
triadic
#2F7342 #422F73 #73422F
tetradic
#2F7342 #2F3E73 #732F60 #73642F
square
#2F7342 #2F3E73 #732F60 #73642F
split-complementary
#2F7342 #642F73 #732F3E
monochromatic
#0B1C10 #1D4829 #2F7342 #419E5B #5FBE79
Accessibility & contrast
On white
5.75
#2F7342 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#2F7342 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7342
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7342 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746A3F
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#1E7167
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7342; /* rgb */ color: rgb(47, 115, 66); /* oklch */ color: oklch(49.9% 0.104 150.2);
Tailwind
colors: {
custom: {
50: '#6e9c77',
500: '#2f7342',
950: '#000000',
},
}SCSS
$custom: #2f7342; $custom-light: #6e9c77; $custom-dark: #000000;
JSON
{
"hex": "#2f7342",
"rgb": {
"r": 47,
"g": 115,
"b": 66
},
"hsl": {
"h": 136.765,
"s": 41.975,
"l": 31.765
},
"oklch": {
"l": 0.49851,
"c": 0.1038,
"h": 150.2
},
"luminance": 0.13259
}Semantic roles & 50–950 ramp
primary
#2F7342
secondary
#A45A8F
accent
#56AFD2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B