#2F7D1D#2F7D1D
#2F7D1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.150 H 140.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D1D |
|---|---|
| RGB | rgb(47, 125, 29) |
| HSL | hsl(109, 62%, 30%) |
| HSV | hsv(109, 77%, 49%) |
| CMYK | cmyk(62.4%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(46.12, -42.20, 42.52) |
| CIE-LCH | lch(46.12, 59.91, 134.78°) |
| OKLab | oklab(52.16% -0.1157 0.0958) |
| OKLCH | oklch(52.16% 0.15 140.4) |
| XYZ | xyz(8.7273, 15.3595, 3.6669) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.68
Green
#008000
ΔE00 3.08
Dark Grass Green
#388004
ΔE00 3.10
Darkish Green
#287C37
ΔE00 4.70
Forestgreen (CSS)
#228B22
ΔE00 5.01
Emerald Green
#028F1E
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D1D #6B1D7D
analogous
#5F7D1D #2F7D1D #1D7D3B
triadic
#2F7D1D #1D2F7D #7D1D2F
tetradic
#2F7D1D #1D5F7D #6B1D7D #7D3B1D
square
#2F7D1D #1D5F7D #6B1D7D #7D3B1D
split-complementary
#2F7D1D #3B1D7D #7D1D5F
monochromatic
#0A1A06 #1C4B11 #2F7D1D #42AF29 #5DD341
Accessibility & contrast
On white
5.16
#2F7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2F7D1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D1D
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D1D | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f7d1d; /* rgb */ color: rgb(47, 125, 29); /* oklch */ color: oklch(52.2% 0.150 140.4);
Tailwind
colors: {
custom: {
50: '#72a360',
500: '#2f7d1d',
950: '#000000',
},
}SCSS
$custom: #2f7d1d; $custom-light: #72a360; $custom-dark: #000000;
JSON
{
"hex": "#2f7d1d",
"rgb": {
"r": 47,
"g": 125,
"b": 29
},
"hsl": {
"h": 108.75,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.5216,
"c": 0.1502,
"h": 140.4
},
"luminance": 0.1536
}Semantic roles & 50–950 ramp
primary
#2F7D1D
secondary
#9C45B1
accent
#42E5C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79