#2A881F#2A881F
#2A881F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.164 H 141.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A881F |
|---|---|
| RGB | rgb(42, 136, 31) |
| HSL | hsl(114, 63%, 33%) |
| HSV | hsv(114, 77%, 53%) |
| CMYK | cmyk(69.1%, 0%, 77.2%, 46.7%) |
| CIE-LAB | lab(49.74, -47.26, 45.33) |
| CIE-LCH | lch(49.74, 65.48, 136.19°) |
| OKLab | oklab(55.12% -0.1289 0.102) |
| OKLCH | oklch(55.12% 0.164 141.6) |
| XYZ | xyz(10.0058, 18.1984, 4.2814) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.21
Emerald Green
#028F1E
ΔE00 2.83
Tree Green
#2A7E19
ΔE00 3.55
Green
#008000
ΔE00 3.80
Dark Grass Green
#388004
ΔE00 3.97
True Green
#089404
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A881F #7D1F88
analogous
#5F881F #2A881F #1F8848
triadic
#2A881F #1F2A88 #881F2A
tetradic
#2A881F #1F5F88 #7D1F88 #88481F
square
#2A881F #1F5F88 #7D1F88 #88481F
split-complementary
#2A881F #481F88 #881F5F
monochromatic
#0B2408 #1B5614 #2A881F #39BA2A #5AD64B
Accessibility & contrast
On white
4.53
#2A881F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#2A881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A881F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A881F | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 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)
#158474
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a881f; /* rgb */ color: rgb(42, 136, 31); /* oklch */ color: oklch(55.1% 0.164 141.6);
Tailwind
colors: {
custom: {
50: '#72ac63',
500: '#2a881f',
950: '#000000',
},
}SCSS
$custom: #2a881f; $custom-light: #72ac63; $custom-dark: #000000;
JSON
{
"hex": "#2a881f",
"rgb": {
"r": 42,
"g": 136,
"b": 31
},
"hsl": {
"h": 113.714,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.55115,
"c": 0.16438,
"h": 141.6
},
"luminance": 0.18199
}Semantic roles & 50–950 ramp
primary
#2A881F
secondary
#AD4AB9
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A