#2F881F#2F881F
#2F881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.162 H 141.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F881F |
|---|---|
| RGB | rgb(47, 136, 31) |
| HSL | hsl(111, 63%, 33%) |
| HSV | hsv(111, 77%, 53%) |
| CMYK | cmyk(65.4%, 0%, 77.2%, 46.7%) |
| CIE-LAB | lab(49.87, -46.14, 45.51) |
| CIE-LCH | lch(49.87, 64.80, 135.40°) |
| OKLab | oklab(55.27% -0.1262 0.1023) |
| OKLCH | oklch(55.27% 0.162 141) |
| XYZ | xyz(10.2233, 18.3106, 4.2916) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.48
Emerald Green
#028F1E
ΔE00 3.07
Tree Green
#2A7E19
ΔE00 3.60
Dark Grass Green
#388004
ΔE00 3.75
Green
#008000
ΔE00 4.01
True Green
#089404
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F881F #781F88
analogous
#63881F #2F881F #1F8843
triadic
#2F881F #1F2F88 #881F2F
tetradic
#2F881F #1F6388 #781F88 #88431F
square
#2F881F #1F6388 #781F88 #88431F
split-complementary
#2F881F #431F88 #881F63
monochromatic
#0D2408 #1E5614 #2F881F #40BA2A #60D64B
Accessibility & contrast
On white
4.50
#2F881F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#2F881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F881F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F881F | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#208474
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f881f; /* rgb */ color: rgb(47, 136, 31); /* oklch */ color: oklch(55.3% 0.162 141.0);
Tailwind
colors: {
custom: {
50: '#74ac63',
500: '#2f881f',
950: '#000000',
},
}SCSS
$custom: #2f881f; $custom-light: #74ac63; $custom-dark: #000000;
JSON
{
"hex": "#2f881f",
"rgb": {
"r": 47,
"g": 136,
"b": 31
},
"hsl": {
"h": 110.857,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.55265,
"c": 0.16247,
"h": 141
},
"luminance": 0.18312
}Semantic roles & 50–950 ramp
primary
#2F881F
secondary
#A84AB9
accent
#42E6CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A