#2F712F#2F712F
#2F712F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.120 H 143.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F712F |
|---|---|
| RGB | rgb(47, 113, 47) |
| HSL | hsl(120, 41%, 31%) |
| HSV | hsv(120, 58%, 44%) |
| CMYK | cmyk(58.4%, 0%, 58.4%, 55.7%) |
| CIE-LAB | lab(42.18, -35.48, 30.04) |
| CIE-LCH | lch(42.18, 46.49, 139.75°) |
| OKLab | oklab(48.97% -0.0964 0.0714) |
| OKLCH | oklch(48.97% 0.12 143.5) |
| XYZ | xyz(7.5901, 12.6192, 4.7245) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.93
Tree Green
#2A7E19
ΔE00 6.35
Darkgreen
#006400
ΔE00 6.80
Jungle Green
#048243
ΔE00 6.99
Forest Green
#2D5A27
ΔE00 7.87
Green
#008000
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F712F #712F71
analogous
#50712F #2F712F #2F7150
triadic
#2F712F #2F2F71 #712F2F
tetradic
#2F712F #2F5071 #712F71 #71502F
square
#2F712F #2F5071 #712F71 #71502F
split-complementary
#2F712F #502F71 #712F50
monochromatic
#0B1B0B #1D461D #2F712F #419C41 #5EBC5E
Accessibility & contrast
On white
5.96
#2F712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2F712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F712F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F712F | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f712f; /* rgb */ color: rgb(47, 113, 47); /* oklch */ color: oklch(49.0% 0.120 143.5);
Tailwind
colors: {
custom: {
50: '#6e9a69',
500: '#2f712f',
950: '#000000',
},
}SCSS
$custom: #2f712f; $custom-light: #6e9a69; $custom-dark: #000000;
JSON
{
"hex": "#2f712f",
"rgb": {
"r": 47,
"g": 113,
"b": 47
},
"hsl": {
"h": 120,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.48965,
"c": 0.11999,
"h": 143.5
},
"luminance": 0.1262
}Semantic roles & 50–950 ramp
primary
#2F712F
secondary
#A25AA2
accent
#57D1D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A