#2F7D14#2F7D14
#2F7D14 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.155 H 139.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D14 |
|---|---|
| RGB | rgb(47, 125, 20) |
| HSL | hsl(105, 72%, 28%) |
| HSV | hsv(105, 84%, 49%) |
| CMYK | cmyk(62.4%, 0%, 84%, 51%) |
| CIE-LAB | lab(46.07, -42.80, 45.53) |
| CIE-LCH | lch(46.07, 62.49, 133.23°) |
| OKLab | oklab(52.1% -0.1178 0.1008) |
| OKLCH | oklch(52.1% 0.155 139.5) |
| XYZ | xyz(8.6318, 15.3213, 3.1641) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.89
Dark Grass Green
#388004
ΔE00 2.26
Green
#008000
ΔE00 2.71
Forestgreen (CSS)
#228B22
ΔE00 5.13
Darkish Green
#287C37
ΔE00 5.70
Emerald Green
#028F1E
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D14 #62147D
analogous
#637D14 #2F7D14 #147D2D
triadic
#2F7D14 #142F7D #7D142F
tetradic
#2F7D14 #14637D #62147D #7D2D14
square
#2F7D14 #14637D #62147D #7D2D14
split-complementary
#2F7D14 #2D147D #7D1463
monochromatic
#0A1A04 #1B480C #2F7D14 #43B21C #5BDE2E
Accessibility & contrast
On white
5.17
#2F7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2F7D14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D14
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D14 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B21
Tritanopia (blue-blind)
#25796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f7d14; /* rgb */ color: rgb(47, 125, 20); /* oklch */ color: oklch(52.1% 0.155 139.5);
Tailwind
colors: {
custom: {
50: '#72a35c',
500: '#2f7d14',
950: '#000000',
},
}SCSS
$custom: #2f7d14; $custom-light: #72a35c; $custom-dark: #000000;
JSON
{
"hex": "#2f7d14",
"rgb": {
"r": 47,
"g": 125,
"b": 20
},
"hsl": {
"h": 104.571,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.52101,
"c": 0.15501,
"h": 139.5
},
"luminance": 0.15322
}Semantic roles & 50–950 ramp
primary
#2F7D14
secondary
#943AB2
accent
#39EFC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79