#2F7D46#2F7D46
#2F7D46 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.115 H 150.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D46 |
|---|---|
| RGB | rgb(47, 125, 70) |
| HSL | hsl(138, 45%, 34%) |
| HSV | hsv(138, 62%, 49%) |
| CMYK | cmyk(62.4%, 0%, 44%, 51%) |
| CIE-LAB | lab(46.60, -36.87, 23.06) |
| CIE-LCH | lch(46.60, 43.48, 147.98°) |
| OKLab | oklab(52.7% -0.0997 0.057) |
| OKLCH | oklch(52.7% 0.115 150.3) |
| XYZ | xyz(9.6107, 15.7128, 8.3196) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.06
Jungle Green
#048243
ΔE00 3.07
Sea Green
#2E8B57
ΔE00 5.37
Dark Sea Green
#11875D
ΔE00 6.08
Dark Sage
#598556
ΔE00 6.83
Tree Green
#2A7E19
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D46 #7D2F66
analogous
#3F7D2F #2F7D46 #2F7D6D
triadic
#2F7D46 #462F7D #7D462F
tetradic
#2F7D46 #2F3F7D #7D2F66 #7D6D2F
square
#2F7D46 #2F3F7D #7D2F66 #7D6D2F
split-complementary
#2F7D46 #6D2F7D #7D2F3F
monochromatic
#0E2414 #1E512D #2F7D46 #40A95F #62C47F
Accessibility & contrast
On white
5.07
#2F7D46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2F7D46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D46
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D46 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7342
Deuteranopia (green-blind)
#736C4A
Tritanopia (blue-blind)
#187B70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7d46; /* rgb */ color: rgb(47, 125, 70); /* oklch */ color: oklch(52.7% 0.115 150.3);
Tailwind
colors: {
custom: {
50: '#70a37a',
500: '#2f7d46',
950: '#000000',
},
}SCSS
$custom: #2f7d46; $custom-light: #70a37a; $custom-dark: #000000;
JSON
{
"hex": "#2f7d46",
"rgb": {
"r": 47,
"g": 125,
"b": 70
},
"hsl": {
"h": 137.692,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.52703,
"c": 0.11479,
"h": 150.3
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#2F7D46
secondary
#AB5D94
accent
#53AFD5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B