#2F861F#2F861F
#2F861F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.160 H 140.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F861F |
|---|---|
| RGB | rgb(47, 134, 31) |
| HSL | hsl(111, 62%, 32%) |
| HSV | hsv(111, 77%, 53%) |
| CMYK | cmyk(64.9%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.19, -45.41, 44.84) |
| CIE-LCH | lch(49.19, 63.81, 135.36°) |
| OKLab | oklab(54.71% -0.1242 0.1009) |
| OKLCH | oklch(54.71% 0.16 140.9) |
| XYZ | xyz(9.9442, 17.7525, 4.1986) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.00
Tree Green
#2A7E19
ΔE00 2.89
Dark Grass Green
#388004
ΔE00 3.34
Green
#008000
ΔE00 3.55
Emerald Green
#028F1E
ΔE00 3.63
True Green
#089404
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F861F #761F86
analogous
#62861F #2F861F #1F8643
triadic
#2F861F #1F2F86 #861F2F
tetradic
#2F861F #1F6286 #761F86 #86431F
square
#2F861F #1F6286 #761F86 #86431F
split-complementary
#2F861F #431F86 #861F62
monochromatic
#0C2308 #1E5414 #2F861F #40B82A #60D54A
Accessibility & contrast
On white
4.61
#2F861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2F861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F861F
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F861F | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#218272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f861f; /* rgb */ color: rgb(47, 134, 31); /* oklch */ color: oklch(54.7% 0.160 140.9);
Tailwind
colors: {
custom: {
50: '#74aa62',
500: '#2f861f',
950: '#000000',
},
}SCSS
$custom: #2f861f; $custom-light: #74aa62; $custom-dark: #000000;
JSON
{
"hex": "#2f861f",
"rgb": {
"r": 47,
"g": 134,
"b": 31
},
"hsl": {
"h": 110.68,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54705,
"c": 0.16005,
"h": 140.9
},
"luminance": 0.17753
}Semantic roles & 50–950 ramp
primary
#2F861F
secondary
#A749B8
accent
#42E5CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A