#2A8F2A#2A8F2A
#2A8F2A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.166 H 143.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F2A |
|---|---|
| RGB | rgb(42, 143, 42) |
| HSL | hsl(120, 55%, 36%) |
| HSV | hsv(120, 71%, 56%) |
| CMYK | cmyk(70.6%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.18, -48.78, 43.53) |
| CIE-LCH | lch(52.18, 65.38, 138.25°) |
| OKLab | oklab(57.17% -0.1325 0.0997) |
| OKLCH | oklch(57.17% 0.166 143) |
| XYZ | xyz(11.1946, 20.3031, 5.5190) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.64
Emerald Green
#028F1E
ΔE00 1.81
Irish Green
#019529
ΔE00 2.44
Kelley Green
#009337
ΔE00 2.97
True Green
#089404
ΔE00 3.54
Fern Green
#548D44
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F2A #8F2A8F
analogous
#5D8F2A #2A8F2A #2A8F5D
triadic
#2A8F2A #2A2A8F #8F2A2A
tetradic
#2A8F2A #2A5D8F #8F2A8F #8F5D2A
square
#2A8F2A #2A5D8F #8F2A8F #8F5D2A
split-complementary
#2A8F2A #5D2A8F #8F2A5D
monochromatic
#0E300E #1C601C #2A8F2A #38BE38 #62D162
Accessibility & contrast
On white
4.15
#2A8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#2A8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F2A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F2A | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#0D8B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2a8f2a; /* rgb */ color: rgb(42, 143, 42); /* oklch */ color: oklch(57.2% 0.166 143.0);
Tailwind
colors: {
custom: {
50: '#73b169',
500: '#2a8f2a',
950: '#000000',
},
}SCSS
$custom: #2a8f2a; $custom-light: #73b169; $custom-dark: #000000;
JSON
{
"hex": "#2a8f2a",
"rgb": {
"r": 42,
"g": 143,
"b": 42
},
"hsl": {
"h": 120,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.57165,
"c": 0.1658,
"h": 143
},
"luminance": 0.20304
}Semantic roles & 50–950 ramp
primary
#2A8F2A
secondary
#B75EB7
accent
#4ADEDE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A