#2A8F1E#2A8F1E
#2A8F1E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.173 H 141.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F1E |
|---|---|
| RGB | rgb(42, 143, 30) |
| HSL | hsl(114, 65%, 34%) |
| HSV | hsv(114, 79%, 56%) |
| CMYK | cmyk(70.6%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(52.10, -49.77, 47.99) |
| CIE-LCH | lch(52.10, 69.14, 136.04°) |
| OKLab | oklab(57.07% -0.1357 0.1074) |
| OKLCH | oklch(57.07% 0.173 141.6) |
| XYZ | xyz(11.0110, 20.2297, 4.5525) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.77
Forestgreen (CSS)
#228B22
ΔE00 1.80
True Green
#089404
ΔE00 2.52
Irish Green
#019529
ΔE00 2.87
Kelley Green
#009337
ΔE00 4.15
Grass Green
#3F9B0B
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F1E #831E8F
analogous
#638F1E #2A8F1E #1E8F4B
triadic
#2A8F1E #1E2A8F #8F1E2A
tetradic
#2A8F1E #1E638F #831E8F #8F4B1E
square
#2A8F1E #1E638F #831E8F #8F4B1E
split-complementary
#2A8F1E #4B1E8F #8F1E63
monochromatic
#0C2A09 #1B5C13 #2A8F1E #39C229 #5DDA4E
Accessibility & contrast
On white
4.16
#2A8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#2A8F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F1E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F1E | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#118A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2a8f1e; /* rgb */ color: rgb(42, 143, 30); /* oklch */ color: oklch(57.1% 0.173 141.6);
Tailwind
colors: {
custom: {
50: '#73b163',
500: '#2a8f1e',
950: '#000000',
},
}SCSS
$custom: #2a8f1e; $custom-light: #73b163; $custom-dark: #000000;
JSON
{
"hex": "#2a8f1e",
"rgb": {
"r": 42,
"g": 143,
"b": 30
},
"hsl": {
"h": 113.628,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.5707,
"c": 0.1731,
"h": 141.6
},
"luminance": 0.20231
}Semantic roles & 50–950 ramp
primary
#2A8F1E
secondary
#B14CBC
accent
#40E8D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A