#2A951C#2A951C
#2A951C is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.7% C 0.181 H 141.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A951C |
|---|---|
| RGB | rgb(42, 149, 28) |
| HSL | hsl(113, 68%, 35%) |
| HSV | hsv(113, 81%, 58%) |
| CMYK | cmyk(71.8%, 0%, 81.2%, 41.6%) |
| CIE-LAB | lab(54.10, -51.95, 50.55) |
| CIE-LCH | lch(54.10, 72.49, 135.78°) |
| OKLab | oklab(58.73% -0.1417 0.1125) |
| OKLCH | oklch(58.73% 0.181 141.6) |
| XYZ | xyz(11.9112, 22.0697, 4.7305) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.71
Irish Green
#019529
ΔE00 2.56
Emerald Green
#028F1E
ΔE00 3.00
Grass Green
#3F9B0B
ΔE00 3.43
Forestgreen (CSS)
#228B22
ΔE00 3.83
Grassy Green
#419C03
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A951C #871C95
analogous
#67951C #2A951C #1C954B
triadic
#2A951C #1C2A95 #951C2A
tetradic
#2A951C #1C6795 #871C95 #954B1C
square
#2A951C #1C6795 #871C95 #954B1C
split-complementary
#2A951C #4B1C95 #951C67
monochromatic
#0D2E09 #1B6112 #2A951C #39C926 #5EDE4E
Accessibility & contrast
On white
3.88
#2A951C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#2A951C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A951C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A951C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A951C | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#0D907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #2a951c; /* rgb */ color: rgb(42, 149, 28); /* oklch */ color: oklch(58.7% 0.181 141.6);
Tailwind
colors: {
custom: {
50: '#75b563',
500: '#2a951c',
950: '#000000',
},
}SCSS
$custom: #2a951c; $custom-light: #75b563; $custom-dark: #000000;
JSON
{
"hex": "#2a951c",
"rgb": {
"r": 42,
"g": 149,
"b": 28
},
"hsl": {
"h": 113.058,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.58731,
"c": 0.18093,
"h": 141.6
},
"luminance": 0.22071
}Semantic roles & 50–950 ramp
primary
#2A951C
secondary
#B34DC0
accent
#3DEBD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A