#2A8F2E#2A8F2E
#2A8F2E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.163 H 143.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F2E |
|---|---|
| RGB | rgb(42, 143, 46) |
| HSL | hsl(122, 55%, 36%) |
| HSV | hsv(122, 71%, 56%) |
| CMYK | cmyk(70.6%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.21, -48.38, 41.86) |
| CIE-LCH | lch(52.21, 63.97, 139.13°) |
| OKLab | oklab(57.2% -0.1311 0.0967) |
| OKLCH | oklch(57.2% 0.163 143.6) |
| XYZ | xyz(11.2698, 20.3332, 5.9150) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.90
Emerald Green
#028F1E
ΔE00 2.12
Irish Green
#019529
ΔE00 2.49
Kelley Green
#009337
ΔE00 2.59
True Green
#089404
ΔE00 4.01
Fern Green
#548D44
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F2E #8F2A8B
analogous
#598F2A #2A8F2E #2A8F61
triadic
#2A8F2E #2E2A8F #8F2E2A
tetradic
#2A8F2E #2A598F #8F2A8B #8F612A
square
#2A8F2E #2A598F #8F2A8B #8F612A
split-complementary
#2A8F2E #612A8F #8F2A59
monochromatic
#0E3010 #1C601F #2A8F2E #38BE3D #62D167
Accessibility & contrast
On white
4.14
#2A8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2A8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F2E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F2E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#0A8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2a8f2e; /* rgb */ color: rgb(42, 143, 46); /* oklch */ color: oklch(57.2% 0.163 143.6);
Tailwind
colors: {
custom: {
50: '#73b16b',
500: '#2a8f2e',
950: '#000000',
},
}SCSS
$custom: #2a8f2e; $custom-light: #73b16b; $custom-dark: #000000;
JSON
{
"hex": "#2a8f2e",
"rgb": {
"r": 42,
"g": 143,
"b": 46
},
"hsl": {
"h": 122.376,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.57203,
"c": 0.16294,
"h": 143.6
},
"luminance": 0.20334
}Semantic roles & 50–950 ramp
primary
#2A8F2E
secondary
#B75EB3
accent
#4AD8DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A