#2F7F16#2F7F16
#2F7F16 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.156 H 139.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F16 |
|---|---|
| RGB | rgb(47, 127, 22) |
| HSL | hsl(106, 70%, 29%) |
| HSV | hsv(106, 83%, 50%) |
| CMYK | cmyk(63%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.76, -43.43, 45.56) |
| CIE-LCH | lch(46.76, 62.95, 133.63°) |
| OKLab | oklab(52.68% -0.1194 0.1011) |
| OKLCH | oklch(52.68% 0.156 139.7) |
| XYZ | xyz(8.9061, 15.8402, 3.3470) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.83
Dark Grass Green
#388004
ΔE00 2.10
Green
#008000
ΔE00 2.56
Forestgreen (CSS)
#228B22
ΔE00 4.43
Darkish Green
#287C37
ΔE00 5.70
Emerald Green
#028F1E
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F16 #66167F
analogous
#647F16 #2F7F16 #167F31
triadic
#2F7F16 #162F7F #7F162F
tetradic
#2F7F16 #16647F #66167F #7F3116
square
#2F7F16 #16647F #66167F #7F3116
split-complementary
#2F7F16 #31167F #7F1664
monochromatic
#0A1A05 #1C4B0D #2F7F16 #42B31F #5CDC34
Accessibility & contrast
On white
5.04
#2F7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2F7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F16
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F16 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#247B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7f16; /* rgb */ color: rgb(47, 127, 22); /* oklch */ color: oklch(52.7% 0.156 139.7);
Tailwind
colors: {
custom: {
50: '#73a55d',
500: '#2f7f16',
950: '#000000',
},
}SCSS
$custom: #2f7f16; $custom-light: #73a55d; $custom-dark: #000000;
JSON
{
"hex": "#2f7f16",
"rgb": {
"r": 47,
"g": 127,
"b": 22
},
"hsl": {
"h": 105.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52677,
"c": 0.15645,
"h": 139.7
},
"luminance": 0.15841
}Semantic roles & 50–950 ramp
primary
#2F7F16
secondary
#983DB4
accent
#3BEDC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79