#2A912E#2A912E
#2A912E is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.165 H 143.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A912E |
|---|---|
| RGB | rgb(42, 145, 46) |
| HSL | hsl(122, 55%, 37%) |
| HSV | hsv(122, 71%, 57%) |
| CMYK | cmyk(71%, 0%, 68.3%, 43.1%) |
| CIE-LAB | lab(52.88, -49.09, 42.59) |
| CIE-LCH | lch(52.88, 64.99, 139.06°) |
| OKLab | oklab(57.76% -0.1331 0.0982) |
| OKLCH | oklch(57.76% 0.165 143.6) |
| XYZ | xyz(11.5727, 20.9390, 6.0160) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.98
Emerald Green
#028F1E
ΔE00 2.19
Forestgreen (CSS)
#228B22
ΔE00 2.41
Kelley Green
#009337
ΔE00 2.45
True Green
#089404
ΔE00 3.65
Fern Green
#548D44
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A912E #912A8D
analogous
#5A912A #2A912E #2A9162
triadic
#2A912E #2E2A91 #912E2A
tetradic
#2A912E #2A5A91 #912A8D #91622A
square
#2A912E #2A5A91 #912A8D #91622A
split-complementary
#2A912E #622A91 #912A5A
monochromatic
#0F3210 #1C621F #2A912E #38C03D #63D268
Accessibility & contrast
On white
4.05
#2A912E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#2A912E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A912E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A912E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A912E | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#088D7D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2a912e; /* rgb */ color: rgb(42, 145, 46); /* oklch */ color: oklch(57.8% 0.165 143.6);
Tailwind
colors: {
custom: {
50: '#73b26c',
500: '#2a912e',
950: '#000000',
},
}SCSS
$custom: #2a912e; $custom-light: #73b26c; $custom-dark: #000000;
JSON
{
"hex": "#2a912e",
"rgb": {
"r": 42,
"g": 145,
"b": 46
},
"hsl": {
"h": 122.33,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.57759,
"c": 0.1654,
"h": 143.6
},
"luminance": 0.2094
}Semantic roles & 50–950 ramp
primary
#2A912E
secondary
#B85FB5
accent
#49D9DE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A