#2A891F#2A891F
#2A891F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.166 H 141.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A891F |
|---|---|
| RGB | rgb(42, 137, 31) |
| HSL | hsl(114, 63%, 33%) |
| HSV | hsv(114, 77%, 54%) |
| CMYK | cmyk(69.3%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(50.07, -47.61, 45.66) |
| CIE-LCH | lch(50.07, 65.97, 136.20°) |
| OKLab | oklab(55.4% -0.1299 0.1027) |
| OKLCH | oklch(55.4% 0.166 141.7) |
| XYZ | xyz(10.1473, 18.4814, 4.3286) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.97
Emerald Green
#028F1E
ΔE00 2.55
Tree Green
#2A7E19
ΔE00 3.90
Green
#008000
ΔE00 4.07
Dark Grass Green
#388004
ΔE00 4.18
True Green
#089404
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A891F #7E1F89
analogous
#5F891F #2A891F #1F8949
triadic
#2A891F #1F2A89 #891F2A
tetradic
#2A891F #1F5F89 #7E1F89 #89491F
square
#2A891F #1F5F89 #7E1F89 #89491F
split-complementary
#2A891F #491F89 #891F5F
monochromatic
#0B2508 #1B5714 #2A891F #39BB2A #5AD64C
Accessibility & contrast
On white
4.47
#2A891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#2A891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A891F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A891F | 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)
#158575
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2a891f; /* rgb */ color: rgb(42, 137, 31); /* oklch */ color: oklch(55.4% 0.166 141.7);
Tailwind
colors: {
custom: {
50: '#72ac63',
500: '#2a891f',
950: '#000000',
},
}SCSS
$custom: #2a891f; $custom-light: #72ac63; $custom-dark: #000000;
JSON
{
"hex": "#2a891f",
"rgb": {
"r": 42,
"g": 137,
"b": 31
},
"hsl": {
"h": 113.774,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55396,
"c": 0.16556,
"h": 141.7
},
"luminance": 0.18482
}Semantic roles & 50–950 ramp
primary
#2A891F
secondary
#AE4BB9
accent
#42E6D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A