#2A961F#2A961F
#2A961F is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.181 H 141.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A961F |
|---|---|
| RGB | rgb(42, 150, 31) |
| HSL | hsl(114, 66%, 35%) |
| HSV | hsv(114, 79%, 59%) |
| CMYK | cmyk(72%, 0%, 79.3%, 41.2%) |
| CIE-LAB | lab(54.45, -52.09, 49.93) |
| CIE-LCH | lch(54.45, 72.16, 136.21°) |
| OKLab | oklab(59.03% -0.142 0.1116) |
| OKLCH | oklch(59.03% 0.181 141.8) |
| XYZ | xyz(12.1078, 22.4025, 4.9821) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.96
Irish Green
#019529
ΔE00 2.42
Emerald Green
#028F1E
ΔE00 3.18
Grass Green
#3F9B0B
ΔE00 3.39
Grassy Green
#419C03
ΔE00 3.98
Forestgreen (CSS)
#228B22
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A961F #8B1F96
analogous
#65961F #2A961F #1F964F
triadic
#2A961F #1F2A96 #961F2A
tetradic
#2A961F #1F6596 #8B1F96 #964F1F
square
#2A961F #1F6596 #8B1F96 #964F1F
split-complementary
#2A961F #4F1F96 #961F65
monochromatic
#0E310A #1C6315 #2A961F #38C929 #60DC54
Accessibility & contrast
On white
3.83
#2A961F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#2A961F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A961F
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A961F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A961F | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#0B9180
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #2a961f; /* rgb */ color: rgb(42, 150, 31); /* oklch */ color: oklch(59.0% 0.181 141.8);
Tailwind
colors: {
custom: {
50: '#75b665',
500: '#2a961f',
950: '#000000',
},
}SCSS
$custom: #2a961f; $custom-light: #75b665; $custom-dark: #000000;
JSON
{
"hex": "#2a961f",
"rgb": {
"r": 42,
"g": 150,
"b": 31
},
"hsl": {
"h": 114.454,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.59027,
"c": 0.18058,
"h": 141.8
},
"luminance": 0.22404
}Semantic roles & 50–950 ramp
primary
#2A961F
secondary
#B552BF
accent
#3FE9D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A