#2F891F#2F891F
#2F891F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.164 H 141.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F891F |
|---|---|
| RGB | rgb(47, 137, 31) |
| HSL | hsl(111, 63%, 33%) |
| HSV | hsv(111, 77%, 54%) |
| CMYK | cmyk(65.7%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(50.21, -46.50, 45.84) |
| CIE-LCH | lch(50.21, 65.30, 135.41°) |
| OKLab | oklab(55.54% -0.1272 0.103) |
| OKLCH | oklch(55.54% 0.164 141) |
| XYZ | xyz(10.3647, 18.5936, 4.3388) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.29
Emerald Green
#028F1E
ΔE00 2.81
Tree Green
#2A7E19
ΔE00 3.96
Dark Grass Green
#388004
ΔE00 3.99
Green
#008000
ΔE00 4.27
True Green
#089404
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F891F #791F89
analogous
#64891F #2F891F #1F8944
triadic
#2F891F #1F2F89 #891F2F
tetradic
#2F891F #1F6489 #791F89 #89441F
square
#2F891F #1F6489 #791F89 #89441F
split-complementary
#2F891F #441F89 #891F64
monochromatic
#0D2508 #1E5714 #2F891F #40BB2A #61D64C
Accessibility & contrast
On white
4.45
#2F891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#2F891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F891F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F891F | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#1F8575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f891f; /* rgb */ color: rgb(47, 137, 31); /* oklch */ color: oklch(55.5% 0.164 141.0);
Tailwind
colors: {
custom: {
50: '#74ac63',
500: '#2f891f',
950: '#000000',
},
}SCSS
$custom: #2f891f; $custom-light: #74ac63; $custom-dark: #000000;
JSON
{
"hex": "#2f891f",
"rgb": {
"r": 47,
"g": 137,
"b": 31
},
"hsl": {
"h": 110.943,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55544,
"c": 0.16366,
"h": 141
},
"luminance": 0.18595
}Semantic roles & 50–950 ramp
primary
#2F891F
secondary
#A84BB9
accent
#42E6CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A