#2F7E39#2F7E39
#2F7E39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.129 H 145.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E39 |
|---|---|
| RGB | rgb(47, 126, 57) |
| HSL | hsl(128, 46%, 34%) |
| HSV | hsv(128, 63%, 49%) |
| CMYK | cmyk(62.7%, 0%, 54.8%, 50.6%) |
| CIE-LAB | lab(46.74, -39.44, 30.29) |
| CIE-LCH | lch(46.74, 49.72, 142.48°) |
| OKLab | oklab(52.76% -0.1067 0.0727) |
| OKLCH | oklch(52.76% 0.129 145.7) |
| XYZ | xyz(9.3711, 15.8206, 6.4299) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.99
Jungle Green
#048243
ΔE00 3.60
Tree Green
#2A7E19
ΔE00 4.94
Forestgreen (CSS)
#228B22
ΔE00 6.48
Green
#008000
ΔE00 6.65
Sea Green
#2E8B57
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E39 #7E2F74
analogous
#4D7E2F #2F7E39 #2F7E61
triadic
#2F7E39 #392F7E #7E392F
tetradic
#2F7E39 #2F4D7E #7E2F74 #7E612F
square
#2F7E39 #2F4D7E #7E2F74 #7E612F
split-complementary
#2F7E39 #612F7E #7E2F4D
monochromatic
#0E2511 #1E5125 #2F7E39 #40AB4D #63C56F
Accessibility & contrast
On white
5.04
#2F7E39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F7E39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E39
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E39 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#766C3E
Tritanopia (blue-blind)
#1D7B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7e39; /* rgb */ color: rgb(47, 126, 57); /* oklch */ color: oklch(52.8% 0.129 145.7);
Tailwind
colors: {
custom: {
50: '#71a471',
500: '#2f7e39',
950: '#000000',
},
}SCSS
$custom: #2f7e39; $custom-light: #71a471; $custom-dark: #000000;
JSON
{
"hex": "#2f7e39",
"rgb": {
"r": 47,
"g": 126,
"b": 57
},
"hsl": {
"h": 127.595,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.52757,
"c": 0.12914,
"h": 145.7
},
"luminance": 0.15821
}Semantic roles & 50–950 ramp
primary
#2F7E39
secondary
#AC5DA2
accent
#52C5D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B