#2A8D26#2A8D26
#2A8D26 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.166 H 142.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8D26 |
|---|---|
| RGB | rgb(42, 141, 38) |
| HSL | hsl(118, 58%, 35%) |
| HSV | hsv(118, 73%, 55%) |
| CMYK | cmyk(70.2%, 0%, 73%, 44.7%) |
| CIE-LAB | lab(51.47, -48.45, 44.42) |
| CIE-LCH | lch(51.47, 65.73, 137.48°) |
| OKLab | oklab(56.57% -0.1317 0.1011) |
| OKLCH | oklch(56.57% 0.166 142.5) |
| XYZ | xyz(10.8289, 19.6808, 5.0614) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.94
Emerald Green
#028F1E
ΔE00 1.75
Irish Green
#019529
ΔE00 3.05
Kelley Green
#009337
ΔE00 3.58
True Green
#089404
ΔE00 3.63
Tree Green
#2A7E19
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8D26 #89268D
analogous
#5D8D26 #2A8D26 #268D56
triadic
#2A8D26 #262A8D #8D262A
tetradic
#2A8D26 #265D8D #89268D #8D5626
square
#2A8D26 #265D8D #89268D #8D5626
split-complementary
#2A8D26 #56268D #8D265D
monochromatic
#0D2D0C #1C5D19 #2A8D26 #38BD33 #5FD35B
Accessibility & contrast
On white
4.25
#2A8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#2A8D26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8D26
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8D26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8D26 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2a8d26; /* rgb */ color: rgb(42, 141, 38); /* oklch */ color: oklch(56.6% 0.166 142.5);
Tailwind
colors: {
custom: {
50: '#73af67',
500: '#2a8d26',
950: '#000000',
},
}SCSS
$custom: #2a8d26; $custom-light: #73af67; $custom-dark: #000000;
JSON
{
"hex": "#2a8d26",
"rgb": {
"r": 42,
"g": 141,
"b": 38
},
"hsl": {
"h": 117.67,
"s": 57.542,
"l": 35.098
},
"oklch": {
"l": 0.56571,
"c": 0.16606,
"h": 142.5
},
"luminance": 0.19682
}Semantic roles & 50–950 ramp
primary
#2A8D26
secondary
#B457B8
accent
#47E1DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A