#2A861F#2A861F
#2A861F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.162 H 141.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A861F |
|---|---|
| RGB | rgb(42, 134, 31) |
| HSL | hsl(114, 62%, 32%) |
| HSV | hsv(114, 77%, 53%) |
| CMYK | cmyk(68.7%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.06, -46.55, 44.65) |
| CIE-LCH | lch(49.06, 64.50, 136.19°) |
| OKLab | oklab(54.55% -0.127 0.1006) |
| OKLCH | oklch(54.55% 0.162 141.6) |
| XYZ | xyz(9.7267, 17.6404, 4.1884) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.83
Tree Green
#2A7E19
ΔE00 2.84
Green
#008000
ΔE00 3.32
Emerald Green
#028F1E
ΔE00 3.43
Dark Grass Green
#388004
ΔE00 3.60
True Green
#089404
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A861F #7B1F86
analogous
#5E861F #2A861F #1F8647
triadic
#2A861F #1F2A86 #861F2A
tetradic
#2A861F #1F5E86 #7B1F86 #86471F
square
#2A861F #1F5E86 #7B1F86 #86471F
split-complementary
#2A861F #471F86 #861F5E
monochromatic
#0B2308 #1A5414 #2A861F #3AB82A #59D54A
Accessibility & contrast
On white
4.64
#2A861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#2A861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A861F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A861F | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#178272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a861f; /* rgb */ color: rgb(42, 134, 31); /* oklch */ color: oklch(54.6% 0.162 141.6);
Tailwind
colors: {
custom: {
50: '#71aa62',
500: '#2a861f',
950: '#000000',
},
}SCSS
$custom: #2a861f; $custom-light: #71aa62; $custom-dark: #000000;
JSON
{
"hex": "#2a861f",
"rgb": {
"r": 42,
"g": 134,
"b": 31
},
"hsl": {
"h": 113.592,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54552,
"c": 0.16199,
"h": 141.6
},
"luminance": 0.17641
}Semantic roles & 50–950 ramp
primary
#2A861F
secondary
#AC49B8
accent
#42E5D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A