#2F891C#2F891C
#2F891C is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.165 H 140.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F891C |
|---|---|
| RGB | rgb(47, 137, 28) |
| HSL | hsl(110, 66%, 32%) |
| HSV | hsv(110, 80%, 54%) |
| CMYK | cmyk(65.7%, 0%, 79.6%, 46.3%) |
| CIE-LAB | lab(50.19, -46.72, 46.87) |
| CIE-LCH | lch(50.19, 66.17, 134.91°) |
| OKLab | oklab(55.52% -0.1279 0.1047) |
| OKLCH | oklch(55.52% 0.165 140.7) |
| XYZ | xyz(10.3270, 18.5785, 4.1402) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.48
Emerald Green
#028F1E
ΔE00 2.88
Dark Grass Green
#388004
ΔE00 3.81
Tree Green
#2A7E19
ΔE00 3.99
Green
#008000
ΔE00 4.20
True Green
#089404
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F891C #761C89
analogous
#66891C #2F891C #1C893F
triadic
#2F891C #1C2F89 #891C2F
tetradic
#2F891C #1C6689 #761C89 #893F1C
square
#2F891C #1C6689 #761C89 #893F1C
split-complementary
#2F891C #3F1C89 #891C66
monochromatic
#0C2307 #1E5612 #2F891C #40BC26 #60D946
Accessibility & contrast
On white
4.45
#2F891C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#2F891C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F891C
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F891C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F891C | 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)
#8D7C00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#208475
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f891c; /* rgb */ color: rgb(47, 137, 28); /* oklch */ color: oklch(55.5% 0.165 140.7);
Tailwind
colors: {
custom: {
50: '#74ac61',
500: '#2f891c',
950: '#000000',
},
}SCSS
$custom: #2f891c; $custom-light: #74ac61; $custom-dark: #000000;
JSON
{
"hex": "#2f891c",
"rgb": {
"r": 47,
"g": 137,
"b": 28
},
"hsl": {
"h": 109.541,
"s": 66.061,
"l": 32.353
},
"oklch": {
"l": 0.55524,
"c": 0.16532,
"h": 140.7
},
"luminance": 0.18579
}Semantic roles & 50–950 ramp
primary
#2F891C
secondary
#A746BB
accent
#3FE9CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A