#2A8A36#2A8A36
#2A8A36 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.150 H 145.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8A36 |
|---|---|
| RGB | rgb(42, 138, 54) |
| HSL | hsl(128, 53%, 35%) |
| HSV | hsv(128, 70%, 54%) |
| CMYK | cmyk(69.6%, 0%, 60.9%, 45.9%) |
| CIE-LAB | lab(50.61, -45.62, 36.36) |
| CIE-LCH | lch(50.61, 58.34, 141.44°) |
| OKLab | oklab(55.9% -0.1233 0.0858) |
| OKLCH | oklch(55.9% 0.15 145.2) |
| XYZ | xyz(10.7085, 18.9344, 6.5797) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.86
Kelley Green
#009337
ΔE00 3.39
Emerald Green
#028F1E
ΔE00 3.81
Irish Green
#019529
ΔE00 4.54
Fern Green
#548D44
ΔE00 5.09
Darkish Green
#287C37
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8A36 #8A2A7E
analogous
#4E8A2A #2A8A36 #2A8A66
triadic
#2A8A36 #362A8A #8A362A
tetradic
#2A8A36 #2A4E8A #8A2A7E #8A662A
square
#2A8A36 #2A4E8A #8A2A7E #8A662A
split-complementary
#2A8A36 #662A8A #8A2A4E
monochromatic
#0D2C11 #1C5B24 #2A8A36 #38B948 #60CF6E
Accessibility & contrast
On white
4.39
#2A8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#2A8A36 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8A36
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8A36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8A36 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D2D
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#0A8678
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a8a36; /* rgb */ color: rgb(42, 138, 54); /* oklch */ color: oklch(55.9% 0.150 145.2);
Tailwind
colors: {
custom: {
50: '#71ad70',
500: '#2a8a36',
950: '#000000',
},
}SCSS
$custom: #2a8a36; $custom-light: #71ad70; $custom-dark: #000000;
JSON
{
"hex": "#2a8a36",
"rgb": {
"r": 42,
"g": 138,
"b": 54
},
"hsl": {
"h": 127.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.55903,
"c": 0.15022,
"h": 145.2
},
"luminance": 0.18936
}Semantic roles & 50–950 ramp
primary
#2A8A36
secondary
#B45BA9
accent
#4BCBDD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B