#2A972F#2A972F
#2A972F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.172 H 143.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A972F |
|---|---|
| RGB | rgb(42, 151, 47) |
| HSL | hsl(123, 56%, 38%) |
| HSV | hsv(123, 72%, 59%) |
| CMYK | cmyk(72.2%, 0%, 68.9%, 40.8%) |
| CIE-LAB | lab(54.90, -51.09, 44.33) |
| CIE-LCH | lch(54.90, 67.64, 139.05°) |
| OKLab | oklab(59.43% -0.1384 0.102) |
| OKLCH | oklch(59.43% 0.172 143.6) |
| XYZ | xyz(12.5338, 22.8293, 6.4347) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.74
Kelley Green
#009337
ΔE00 3.03
Emerald Green
#028F1E
ΔE00 3.43
True Green
#089404
ΔE00 3.46
Forestgreen (CSS)
#228B22
ΔE00 4.26
Grass Green
#3F9B0B
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A972F #972A92
analogous
#5C972A #2A972F #2A9765
triadic
#2A972F #2F2A97 #972F2A
tetradic
#2A972F #2A5C97 #972A92 #97652A
square
#2A972F #2A5C97 #972A92 #97652A
split-complementary
#2A972F #652A97 #972A5C
monochromatic
#0F3711 #1D6720 #2A972F #37C73E #67D56C
Accessibility & contrast
On white
3.77
#2A972F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#2A972F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A972F
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A972F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A972F | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#019382
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2a972f; /* rgb */ color: rgb(42, 151, 47); /* oklch */ color: oklch(59.4% 0.172 143.6);
Tailwind
colors: {
custom: {
50: '#74b76d',
500: '#2a972f',
950: '#000000',
},
}SCSS
$custom: #2a972f; $custom-light: #74b76d; $custom-dark: #000000;
JSON
{
"hex": "#2a972f",
"rgb": {
"r": 42,
"g": 151,
"b": 47
},
"hsl": {
"h": 122.752,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.59431,
"c": 0.17198,
"h": 143.6
},
"luminance": 0.22831
}Semantic roles & 50–950 ramp
primary
#2A972F
secondary
#BB62B7
accent
#48D9E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A