#2B882F#2B882F
#2B882F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.153 H 143.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2B882F |
|---|---|
| RGB | rgb(43, 136, 47) |
| HSL | hsl(123, 52%, 35%) |
| HSV | hsv(123, 68%, 53%) |
| CMYK | cmyk(68.4%, 0%, 65.4%, 46.7%) |
| CIE-LAB | lab(49.89, -45.53, 38.86) |
| CIE-LCH | lch(49.89, 59.86, 139.52°) |
| OKLab | oklab(55.29% -0.1234 0.0904) |
| OKLCH | oklch(55.29% 0.153 143.8) |
| XYZ | xyz(10.3129, 18.3261, 5.6826) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.15
Emerald Green
#028F1E
ΔE00 3.52
Kelley Green
#009337
ΔE00 4.16
Tree Green
#2A7E19
ΔE00 4.21
Irish Green
#019529
ΔE00 4.81
Green
#008000
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B882F #882B84
analogous
#55882B #2B882F #2B885E
triadic
#2B882F #2F2B88 #882F2B
tetradic
#2B882F #2B5588 #882B84 #885E2B
square
#2B882F #2B5588 #882B84 #885E2B
split-complementary
#2B882F #5E2B88 #882B55
monochromatic
#0E2B0F #1C5A1F #2B882F #3AB63F #61CD65
Accessibility & contrast
On white
4.50
#2B882F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#2B882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B882F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B882F | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#138475
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2b882f; /* rgb */ color: rgb(43, 136, 47); /* oklch */ color: oklch(55.3% 0.153 143.8);
Tailwind
colors: {
custom: {
50: '#71ac6b',
500: '#2b882f',
950: '#000000',
},
}SCSS
$custom: #2b882f; $custom-light: #71ac6b; $custom-dark: #000000;
JSON
{
"hex": "#2b882f",
"rgb": {
"r": 43,
"g": 136,
"b": 47
},
"hsl": {
"h": 122.581,
"s": 51.955,
"l": 35.098
},
"oklch": {
"l": 0.5529,
"c": 0.15301,
"h": 143.8
},
"luminance": 0.18327
}Semantic roles & 50–950 ramp
primary
#2B882F
secondary
#B35CAF
accent
#4CD5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A