#2A8F2F#2A8F2F
#2A8F2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.162 H 143.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8F2F |
|---|---|
| RGB | rgb(42, 143, 47) |
| HSL | hsl(123, 55%, 36%) |
| HSV | hsv(123, 71%, 56%) |
| CMYK | cmyk(70.6%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.22, -48.27, 41.43) |
| CIE-LCH | lch(52.22, 63.61, 139.36°) |
| OKLab | oklab(57.21% -0.1308 0.0959) |
| OKLCH | oklch(57.21% 0.162 143.8) |
| XYZ | xyz(11.2897, 20.3412, 6.0200) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.99
Emerald Green
#028F1E
ΔE00 2.21
Kelley Green
#009337
ΔE00 2.50
Irish Green
#019529
ΔE00 2.52
True Green
#089404
ΔE00 4.13
Fern Green
#548D44
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8F2F #8F2A8A
analogous
#588F2A #2A8F2F #2A8F62
triadic
#2A8F2F #2F2A8F #8F2F2A
tetradic
#2A8F2F #2A588F #8F2A8A #8F622A
square
#2A8F2F #2A588F #8F2A8A #8F622A
split-complementary
#2A8F2F #622A8F #8F2A58
monochromatic
#0E3010 #1C601F #2A8F2F #38BE3F #62D168
Accessibility & contrast
On white
4.14
#2A8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2A8F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8F2F
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8F2F | 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)
#928223
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#0A8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2a8f2f; /* rgb */ color: rgb(42, 143, 47); /* oklch */ color: oklch(57.2% 0.162 143.8);
Tailwind
colors: {
custom: {
50: '#73b16c',
500: '#2a8f2f',
950: '#000000',
},
}SCSS
$custom: #2a8f2f; $custom-light: #73b16c; $custom-dark: #000000;
JSON
{
"hex": "#2a8f2f",
"rgb": {
"r": 42,
"g": 143,
"b": 47
},
"hsl": {
"h": 122.97,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.57214,
"c": 0.1622,
"h": 143.8
},
"luminance": 0.20342
}Semantic roles & 50–950 ramp
primary
#2A8F2F
secondary
#B75EB3
accent
#4AD7DE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A