#2A861C#2A861C
#2A861C is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.164 H 141.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A861C |
|---|---|
| RGB | rgb(42, 134, 28) |
| HSL | hsl(112, 65%, 32%) |
| HSV | hsv(112, 79%, 53%) |
| CMYK | cmyk(68.7%, 0%, 79.1%, 47.5%) |
| CIE-LAB | lab(49.04, -46.77, 45.71) |
| CIE-LCH | lch(49.04, 65.39, 135.66°) |
| OKLab | oklab(54.53% -0.1277 0.1024) |
| OKLCH | oklch(54.53% 0.164 141.3) |
| XYZ | xyz(9.6890, 17.6253, 3.9898) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.91
Tree Green
#2A7E19
ΔE00 2.83
Green
#008000
ΔE00 3.19
Dark Grass Green
#388004
ΔE00 3.36
Emerald Green
#028F1E
ΔE00 3.45
True Green
#089404
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A861C #781C86
analogous
#5F861C #2A861C #1C8643
triadic
#2A861C #1C2A86 #861C2A
tetradic
#2A861C #1C5F86 #781C86 #86431C
square
#2A861C #1C5F86 #781C86 #86431C
split-complementary
#2A861C #431C86 #861C5F
monochromatic
#0A2107 #1A5311 #2A861C #3AB927 #58D844
Accessibility & contrast
On white
4.64
#2A861C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#2A861C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A861C
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A861C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A861C | 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)
#897902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#178272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a861c; /* rgb */ color: rgb(42, 134, 28); /* oklch */ color: oklch(54.5% 0.164 141.3);
Tailwind
colors: {
custom: {
50: '#72aa61',
500: '#2a861c',
950: '#000000',
},
}SCSS
$custom: #2a861c; $custom-light: #72aa61; $custom-dark: #000000;
JSON
{
"hex": "#2a861c",
"rgb": {
"r": 42,
"g": 134,
"b": 28
},
"hsl": {
"h": 112.075,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.54531,
"c": 0.16369,
"h": 141.3
},
"luminance": 0.17626
}Semantic roles & 50–950 ramp
primary
#2A861C
secondary
#AA45B9
accent
#3FE8D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A