#2F891B#2F891B
#2F891B is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.166 H 140.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F891B |
|---|---|
| RGB | rgb(47, 137, 27) |
| HSL | hsl(109, 67%, 32%) |
| HSV | hsv(109, 80%, 54%) |
| CMYK | cmyk(65.7%, 0%, 80.3%, 46.3%) |
| CIE-LAB | lab(50.18, -46.78, 47.20) |
| CIE-LCH | lch(50.18, 66.45, 134.75°) |
| OKLab | oklab(55.52% -0.1281 0.1053) |
| OKLCH | oklch(55.52% 0.166 140.6) |
| XYZ | xyz(10.3153, 18.5738, 4.0782) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.56
Emerald Green
#028F1E
ΔE00 2.91
Dark Grass Green
#388004
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 4.00
Green
#008000
ΔE00 4.18
True Green
#089404
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F891B #751B89
analogous
#66891B #2F891B #1B893E
triadic
#2F891B #1B2F89 #891B2F
tetradic
#2F891B #1B6689 #751B89 #893E1B
square
#2F891B #1B6689 #751B89 #893E1B
split-complementary
#2F891B #3E1B89 #891B66
monochromatic
#0C2307 #1D5611 #2F891B #41BC25 #5FDA44
Accessibility & contrast
On white
4.45
#2F891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#2F891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F891B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F891B | 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: #2f891b; /* rgb */ color: rgb(47, 137, 27); /* oklch */ color: oklch(55.5% 0.166 140.6);
Tailwind
colors: {
custom: {
50: '#74ac61',
500: '#2f891b',
950: '#000000',
},
}SCSS
$custom: #2f891b; $custom-light: #74ac61; $custom-dark: #000000;
JSON
{
"hex": "#2f891b",
"rgb": {
"r": 47,
"g": 137,
"b": 27
},
"hsl": {
"h": 109.091,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.55517,
"c": 0.16584,
"h": 140.6
},
"luminance": 0.18575
}Semantic roles & 50–950 ramp
primary
#2F891B
secondary
#A644BC
accent
#3EEACB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A