#2F7E1D#2F7E1D
#2F7E1D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E1D |
|---|---|
| RGB | rgb(47, 126, 29) |
| HSL | hsl(109, 63%, 30%) |
| HSV | hsv(109, 77%, 49%) |
| CMYK | cmyk(62.7%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.46, -42.58, 42.86) |
| CIE-LCH | lch(46.46, 60.42, 134.81°) |
| OKLab | oklab(52.44% -0.1167 0.0965) |
| OKLCH | oklch(52.44% 0.151 140.4) |
| XYZ | xyz(8.8545, 15.6139, 3.7093) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.55
Dark Grass Green
#388004
ΔE00 2.94
Green
#008000
ΔE00 2.95
Forestgreen (CSS)
#228B22
ΔE00 4.66
Darkish Green
#287C37
ΔE00 4.80
Emerald Green
#028F1E
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E1D #6C1D7E
analogous
#5F7E1D #2F7E1D #1D7E3B
triadic
#2F7E1D #1D2F7E #7E1D2F
tetradic
#2F7E1D #1D5F7E #6C1D7E #7E3B1D
square
#2F7E1D #1D5F7E #6C1D7E #7E3B1D
split-complementary
#2F7E1D #3B1D7E #7E1D5F
monochromatic
#0A1B06 #1C4C12 #2F7E1D #42B028 #5DD342
Accessibility & contrast
On white
5.09
#2F7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2F7E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E1D
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E1D | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#247A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e1d; /* rgb */ color: rgb(47, 126, 29); /* oklch */ color: oklch(52.4% 0.151 140.4);
Tailwind
colors: {
custom: {
50: '#72a460',
500: '#2f7e1d',
950: '#000000',
},
}SCSS
$custom: #2f7e1d; $custom-light: #72a460; $custom-dark: #000000;
JSON
{
"hex": "#2f7e1d",
"rgb": {
"r": 47,
"g": 126,
"b": 29
},
"hsl": {
"h": 108.866,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52442,
"c": 0.15144,
"h": 140.4
},
"luminance": 0.15615
}Semantic roles & 50–950 ramp
primary
#2F7E1D
secondary
#9D45B1
accent
#42E6C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79