#2F7442#2F7442
#2F7442 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.1% C 0.105 H 150.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7442 |
|---|---|
| RGB | rgb(47, 116, 66) |
| HSL | hsl(137, 42%, 32%) |
| HSV | hsv(137, 59%, 45%) |
| CMYK | cmyk(59.5%, 0%, 43.1%, 54.5%) |
| CIE-LAB | lab(43.49, -33.70, 21.27) |
| CIE-LCH | lch(43.49, 39.85, 147.74°) |
| OKLab | oklab(50.13% -0.0912 0.0527) |
| OKLCH | oklch(50.13% 0.105 150) |
| XYZ | xyz(8.4005, 13.4877, 7.3139) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.52
Jungle Green
#048243
ΔE00 5.65
Pine
#2B5D34
ΔE00 7.79
Spruce
#0A5F38
ΔE00 7.85
Dark Sea Green
#11875D
ΔE00 8.09
Hunter Green
#355E3B
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7442 #742F61
analogous
#3F742F #2F7442 #2F7465
triadic
#2F7442 #422F74 #74422F
tetradic
#2F7442 #2F3F74 #742F61 #74652F
square
#2F7442 #2F3F74 #742F61 #74652F
split-complementary
#2F7442 #652F74 #742F3F
monochromatic
#0C1D10 #1D4829 #2F7442 #41A05B #5FBE79
Accessibility & contrast
On white
5.68
#2F7442 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#2F7442 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7442
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7442 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#1D7268
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7442; /* rgb */ color: rgb(47, 116, 66); /* oklch */ color: oklch(50.1% 0.105 150.0);
Tailwind
colors: {
custom: {
50: '#6e9d77',
500: '#2f7442',
950: '#000000',
},
}SCSS
$custom: #2f7442; $custom-light: #6e9d77; $custom-dark: #000000;
JSON
{
"hex": "#2f7442",
"rgb": {
"r": 47,
"g": 116,
"b": 66
},
"hsl": {
"h": 136.522,
"s": 42.331,
"l": 31.961
},
"oklch": {
"l": 0.50129,
"c": 0.10533,
"h": 150
},
"luminance": 0.13488
}Semantic roles & 50–950 ramp
primary
#2F7442
secondary
#A55A90
accent
#56B0D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B