#2A8F22#2A8F22
#2A8F22 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 142.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F22 |
|---|---|
| RGB | rgb(42, 143, 34) |
| HSL | hsl(116, 62%, 35%) |
| HSV | hsv(116, 76%, 56%) |
| CMYK | cmyk(70.6%, 0%, 76.2%, 43.9%) |
| CIE-LAB | lab(52.12, -49.48, 46.61) |
| CIE-LCH | lch(52.12, 67.97, 136.71°) |
| OKLab | oklab(57.1% -0.1347 0.1051) |
| OKLCH | oklch(57.1% 0.171 142) |
| XYZ | xyz(11.0654, 20.2515, 4.8388) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.62
Emerald Green
#028F1E
ΔE00 1.65
Irish Green
#019529
ΔE00 2.66
True Green
#089404
ΔE00 2.79
Kelley Green
#009337
ΔE00 3.77
Grass Green
#3F9B0B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F22 #87228F
analogous
#618F22 #2A8F22 #228F50
triadic
#2A8F22 #222A8F #8F222A
tetradic
#2A8F22 #22618F #87228F #8F5022
square
#2A8F22 #22618F #87228F #8F5022
split-complementary
#2A8F22 #50228F #8F2261
monochromatic
#0D2C0A #1B5E16 #2A8F22 #39C02E #5ED755
Accessibility & contrast
On white
4.16
#2A8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#2A8F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F22
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F22 | 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)
#92810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#108B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2a8f22; /* rgb */ color: rgb(42, 143, 34); /* oklch */ color: oklch(57.1% 0.171 142.0);
Tailwind
colors: {
custom: {
50: '#73b165',
500: '#2a8f22',
950: '#000000',
},
}SCSS
$custom: #2a8f22; $custom-light: #73b165; $custom-dark: #000000;
JSON
{
"hex": "#2a8f22",
"rgb": {
"r": 42,
"g": 143,
"b": 34
},
"hsl": {
"h": 115.596,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.57098,
"c": 0.17088,
"h": 142
},
"luminance": 0.20253
}Semantic roles & 50–950 ramp
primary
#2A8F22
secondary
#B352BA
accent
#43E5D9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A