#2B881F#2B881F
#2B881F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.164 H 141.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2B881F |
|---|---|
| RGB | rgb(43, 136, 31) |
| HSL | hsl(113, 63%, 33%) |
| HSV | hsv(113, 77%, 53%) |
| CMYK | cmyk(68.4%, 0%, 77.2%, 46.7%) |
| CIE-LAB | lab(49.76, -47.04, 45.36) |
| CIE-LCH | lch(49.76, 65.35, 136.04°) |
| OKLab | oklab(55.14% -0.1284 0.1021) |
| OKLCH | oklch(55.14% 0.164 141.5) |
| XYZ | xyz(10.0472, 18.2198, 4.2833) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.26
Emerald Green
#028F1E
ΔE00 2.87
Tree Green
#2A7E19
ΔE00 3.55
Green
#008000
ΔE00 3.84
Dark Grass Green
#388004
ΔE00 3.92
True Green
#089404
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B881F #7C1F88
analogous
#5F881F #2B881F #1F8848
triadic
#2B881F #1F2B88 #881F2B
tetradic
#2B881F #1F5F88 #7C1F88 #88481F
square
#2B881F #1F5F88 #7C1F88 #88481F
split-complementary
#2B881F #481F88 #881F5F
monochromatic
#0B2408 #1B5614 #2B881F #3BBA2A #5BD64B
Accessibility & contrast
On white
4.52
#2B881F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#2B881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B881F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B881F | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#188474
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2b881f; /* rgb */ color: rgb(43, 136, 31); /* oklch */ color: oklch(55.1% 0.164 141.5);
Tailwind
colors: {
custom: {
50: '#72ac63',
500: '#2b881f',
950: '#000000',
},
}SCSS
$custom: #2b881f; $custom-light: #72ac63; $custom-dark: #000000;
JSON
{
"hex": "#2b881f",
"rgb": {
"r": 43,
"g": 136,
"b": 31
},
"hsl": {
"h": 113.143,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.55143,
"c": 0.16401,
"h": 141.5
},
"luminance": 0.18221
}Semantic roles & 50–950 ramp
primary
#2B881F
secondary
#AC4AB9
accent
#42E6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A