#2D881F#2D881F
#2D881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.163 H 141.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2D881F |
|---|---|
| RGB | rgb(45, 136, 31) |
| HSL | hsl(112, 63%, 33%) |
| HSV | hsv(112, 77%, 53%) |
| CMYK | cmyk(66.9%, 0%, 77.2%, 46.7%) |
| CIE-LAB | lab(49.81, -46.60, 45.43) |
| CIE-LCH | lch(49.81, 65.08, 135.73°) |
| OKLab | oklab(55.2% -0.1273 0.1022) |
| OKLCH | oklch(55.2% 0.163 141.2) |
| XYZ | xyz(10.1331, 18.2641, 4.2874) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.36
Emerald Green
#028F1E
ΔE00 2.96
Tree Green
#2A7E19
ΔE00 3.57
Dark Grass Green
#388004
ΔE00 3.83
Green
#008000
ΔE00 3.92
True Green
#089404
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D881F #7A1F88
analogous
#61881F #2D881F #1F8845
triadic
#2D881F #1F2D88 #881F2D
tetradic
#2D881F #1F6188 #7A1F88 #88451F
square
#2D881F #1F6188 #7A1F88 #88451F
split-complementary
#2D881F #451F88 #881F61
monochromatic
#0C2408 #1D5614 #2D881F #3DBA2A #5ED64B
Accessibility & contrast
On white
4.51
#2D881F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#2D881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D881F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D881F | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#1C8474
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2d881f; /* rgb */ color: rgb(45, 136, 31); /* oklch */ color: oklch(55.2% 0.163 141.2);
Tailwind
colors: {
custom: {
50: '#73ac63',
500: '#2d881f',
950: '#000000',
},
}SCSS
$custom: #2d881f; $custom-light: #73ac63; $custom-dark: #000000;
JSON
{
"hex": "#2d881f",
"rgb": {
"r": 45,
"g": 136,
"b": 31
},
"hsl": {
"h": 112,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.55203,
"c": 0.16325,
"h": 141.2
},
"luminance": 0.18265
}Semantic roles & 50–950 ramp
primary
#2D881F
secondary
#AA4AB9
accent
#42E6D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A