#2A8F19#2A8F19
#2A8F19 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.176 H 141.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F19 |
|---|---|
| RGB | rgb(42, 143, 25) |
| HSL | hsl(111, 70%, 33%) |
| HSV | hsv(111, 83%, 56%) |
| CMYK | cmyk(70.6%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(52.07, -50.09, 49.56) |
| CIE-LCH | lch(52.07, 70.47, 135.31°) |
| OKLab | oklab(57.04% -0.1369 0.11) |
| OKLCH | oklch(57.04% 0.176 141.2) |
| XYZ | xyz(10.9522, 20.2062, 4.2425) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 2.01
Forestgreen (CSS)
#228B22
ΔE00 2.10
True Green
#089404
ΔE00 2.27
Irish Green
#019529
ΔE00 3.16
Kelley Green
#009337
ΔE00 4.59
Grass Green
#3F9B0B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F19 #7E198F
analogous
#658F19 #2A8F19 #198F43
triadic
#2A8F19 #192A8F #8F192A
tetradic
#2A8F19 #19658F #7E198F #8F4319
square
#2A8F19 #19658F #7E198F #8F4319
split-complementary
#2A8F19 #43198F #8F1965
monochromatic
#0B2707 #1B5B10 #2A8F19 #39C322 #5ADE44
Accessibility & contrast
On white
4.17
#2A8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#2A8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F19
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F19 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#128A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2a8f19; /* rgb */ color: rgb(42, 143, 25); /* oklch */ color: oklch(57.0% 0.176 141.2);
Tailwind
colors: {
custom: {
50: '#74b161',
500: '#2a8f19',
950: '#000000',
},
}SCSS
$custom: #2a8f19; $custom-light: #74b161; $custom-dark: #000000;
JSON
{
"hex": "#2a8f19",
"rgb": {
"r": 42,
"g": 143,
"b": 25
},
"hsl": {
"h": 111.356,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.5704,
"c": 0.17556,
"h": 141.2
},
"luminance": 0.20207
}Semantic roles & 50–950 ramp
primary
#2A8F19
secondary
#AE44BF
accent
#3BEDD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A