#2A952F#2A952F
#2A952F is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.170 H 143.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A952F |
|---|---|
| RGB | rgb(42, 149, 47) |
| HSL | hsl(123, 56%, 37%) |
| HSV | hsv(123, 72%, 58%) |
| CMYK | cmyk(71.8%, 0%, 68.5%, 41.6%) |
| CIE-LAB | lab(54.23, -50.39, 43.61) |
| CIE-LCH | lch(54.23, 66.64, 139.12°) |
| OKLab | oklab(58.88% -0.1366 0.1005) |
| OKLCH | oklch(58.88% 0.17 143.6) |
| XYZ | xyz(12.2146, 22.1910, 6.3283) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.55
Kelley Green
#009337
ΔE00 2.65
Emerald Green
#028F1E
ΔE00 2.94
True Green
#089404
ΔE00 3.43
Forestgreen (CSS)
#228B22
ΔE00 3.64
Grass Green
#3F9B0B
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A952F #952A90
analogous
#5A952A #2A952F #2A9565
triadic
#2A952F #2F2A95 #952F2A
tetradic
#2A952F #2A5A95 #952A90 #95652A
square
#2A952F #2A5A95 #952A90 #95652A
split-complementary
#2A952F #652A95 #952A5A
monochromatic
#0F3611 #1D6520 #2A952F #37C53E #66D46B
Accessibility & contrast
On white
3.86
#2A952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#2A952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A952F
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A952F | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#039180
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #2a952f; /* rgb */ color: rgb(42, 149, 47); /* oklch */ color: oklch(58.9% 0.170 143.6);
Tailwind
colors: {
custom: {
50: '#74b56d',
500: '#2a952f',
950: '#000000',
},
}SCSS
$custom: #2a952f; $custom-light: #74b56d; $custom-dark: #000000;
JSON
{
"hex": "#2a952f",
"rgb": {
"r": 42,
"g": 149,
"b": 47
},
"hsl": {
"h": 122.804,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.58878,
"c": 0.16955,
"h": 143.6
},
"luminance": 0.22192
}Semantic roles & 50–950 ramp
primary
#2A952F
secondary
#BA61B6
accent
#48D8DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A