#2F7E16#2F7E16
#2F7E16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.155 H 139.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E16 |
|---|---|
| RGB | rgb(47, 126, 22) |
| HSL | hsl(106, 70%, 29%) |
| HSV | hsv(106, 83%, 49%) |
| CMYK | cmyk(62.7%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(46.42, -43.06, 45.24) |
| CIE-LCH | lch(46.42, 62.46, 133.58°) |
| OKLab | oklab(52.4% -0.1184 0.1004) |
| OKLCH | oklch(52.4% 0.155 139.7) |
| XYZ | xyz(8.7776, 15.5832, 3.3042) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.71
Dark Grass Green
#388004
ΔE00 2.24
Green
#008000
ΔE00 2.64
Forestgreen (CSS)
#228B22
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.59
Emerald Green
#028F1E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E16 #65167E
analogous
#637E16 #2F7E16 #167E31
triadic
#2F7E16 #162F7E #7E162F
tetradic
#2F7E16 #16637E #65167E #7E3116
square
#2F7E16 #16637E #65167E #7E3116
split-complementary
#2F7E16 #31167E #7E1663
monochromatic
#0A1A05 #1C4A0D #2F7E16 #42B21F #5BDB33
Accessibility & contrast
On white
5.10
#2F7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2F7E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E16
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E16 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e16; /* rgb */ color: rgb(47, 126, 22); /* oklch */ color: oklch(52.4% 0.155 139.7);
Tailwind
colors: {
custom: {
50: '#72a45d',
500: '#2f7e16',
950: '#000000',
},
}SCSS
$custom: #2f7e16; $custom-light: #72a45d; $custom-dark: #000000;
JSON
{
"hex": "#2f7e16",
"rgb": {
"r": 47,
"g": 126,
"b": 22
},
"hsl": {
"h": 105.577,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.52395,
"c": 0.15526,
"h": 139.7
},
"luminance": 0.15584
}Semantic roles & 50–950 ramp
primary
#2F7E16
secondary
#973DB3
accent
#3BEDC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79