#2F971C#2F971C
#2F971C is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.181 H 141.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F971C |
|---|---|
| RGB | rgb(47, 151, 28) |
| HSL | hsl(111, 69%, 35%) |
| HSV | hsv(111, 81%, 59%) |
| CMYK | cmyk(68.9%, 0%, 81.5%, 40.8%) |
| CIE-LAB | lab(54.89, -51.63, 51.34) |
| CIE-LCH | lch(54.89, 72.81, 135.16°) |
| OKLab | oklab(59.42% -0.1411 0.1141) |
| OKLCH | oklch(59.42% 0.181 141.1) |
| XYZ | xyz(12.4478, 22.8201, 4.8471) |
| Luminance | 0.2282 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.18
Grass Green
#3F9B0B
ΔE00 2.70
Irish Green
#019529
ΔE00 3.08
Grassy Green
#419C03
ΔE00 3.28
Emerald Green
#028F1E
ΔE00 3.81
Forestgreen (CSS)
#228B22
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F971C #841C97
analogous
#6C971C #2F971C #1C9747
triadic
#2F971C #1C2F97 #971C2F
tetradic
#2F971C #1C6C97 #841C97 #97471C
square
#2F971C #1C6C97 #841C97 #97471C
split-complementary
#2F971C #471C97 #971C6C
monochromatic
#0F3009 #1F6312 #2F971C #3FCB26 #65DE4F
Accessibility & contrast
On white
3.77
#2F971C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#2F971C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F971C
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F971C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F971C | 1.00 | 3.77 | 5.56 | 5.56 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#199280
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2f971c; /* rgb */ color: rgb(47, 151, 28); /* oklch */ color: oklch(59.4% 0.181 141.1);
Tailwind
colors: {
custom: {
50: '#77b763',
500: '#2f971c',
950: '#000000',
},
}SCSS
$custom: #2f971c; $custom-light: #77b763; $custom-dark: #000000;
JSON
{
"hex": "#2f971c",
"rgb": {
"r": 47,
"g": 151,
"b": 28
},
"hsl": {
"h": 110.732,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.59416,
"c": 0.18147,
"h": 141.1
},
"luminance": 0.22821
}Semantic roles & 50–950 ramp
primary
#2F971C
secondary
#AF4EC1
accent
#3CECD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A