#2B891F#2B891F
#2B891F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.165 H 141.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B891F |
|---|---|
| RGB | rgb(43, 137, 31) |
| HSL | hsl(113, 63%, 33%) |
| HSV | hsv(113, 77%, 54%) |
| CMYK | cmyk(68.6%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(50.10, -47.40, 45.70) |
| CIE-LCH | lch(50.10, 65.84, 136.05°) |
| OKLab | oklab(55.42% -0.1293 0.1028) |
| OKLCH | oklch(55.42% 0.165 141.5) |
| XYZ | xyz(10.1887, 18.5028, 4.3305) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.02
Emerald Green
#028F1E
ΔE00 2.59
Tree Green
#2A7E19
ΔE00 3.91
Green
#008000
ΔE00 4.10
Dark Grass Green
#388004
ΔE00 4.14
True Green
#089404
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B891F #7D1F89
analogous
#60891F #2B891F #1F8948
triadic
#2B891F #1F2B89 #891F2B
tetradic
#2B891F #1F6089 #7D1F89 #89481F
square
#2B891F #1F6089 #7D1F89 #89481F
split-complementary
#2B891F #481F89 #891F60
monochromatic
#0C2508 #1B5714 #2B891F #3BBB2A #5CD64C
Accessibility & contrast
On white
4.47
#2B891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#2B891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B891F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B891F | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#178575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2b891f; /* rgb */ color: rgb(43, 137, 31); /* oklch */ color: oklch(55.4% 0.165 141.5);
Tailwind
colors: {
custom: {
50: '#72ac63',
500: '#2b891f',
950: '#000000',
},
}SCSS
$custom: #2b891f; $custom-light: #72ac63; $custom-dark: #000000;
JSON
{
"hex": "#2b891f",
"rgb": {
"r": 43,
"g": 137,
"b": 31
},
"hsl": {
"h": 113.208,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55424,
"c": 0.16519,
"h": 141.5
},
"luminance": 0.18504
}Semantic roles & 50–950 ramp
primary
#2B891F
secondary
#AD4BB9
accent
#42E6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A