#2A9A1F#2A9A1F
#2A9A1F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.185 H 141.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A9A1F |
|---|---|
| RGB | rgb(42, 154, 31) |
| HSL | hsl(115, 66%, 36%) |
| HSV | hsv(115, 80%, 60%) |
| CMYK | cmyk(72.7%, 0%, 79.9%, 39.6%) |
| CIE-LAB | lab(55.79, -53.43, 51.22) |
| CIE-LCH | lch(55.79, 74.01, 136.21°) |
| OKLab | oklab(60.14% -0.1456 0.1143) |
| OKLCH | oklch(60.14% 0.185 141.9) |
| XYZ | xyz(12.7570, 23.7010, 5.1985) |
| Luminance | 0.2370 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.70
Grass Green
#3F9B0B
ΔE00 2.74
Irish Green
#019529
ΔE00 3.11
Grassy Green
#419C03
ΔE00 3.28
Emerald Green
#028F1E
ΔE00 4.36
Kelley Green
#009337
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A9A1F #8F1F9A
analogous
#689A1F #2A9A1F #1F9A52
triadic
#2A9A1F #1F2A9A #9A1F2A
tetradic
#2A9A1F #1F689A #8F1F9A #9A521F
square
#2A9A1F #1F689A #8F1F9A #9A521F
split-complementary
#2A9A1F #521F9A #9A1F68
monochromatic
#0E340A #1C6715 #2A9A1F #38CD29 #62DD56
Accessibility & contrast
On white
3.66
#2A9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#2A9A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A9A1F
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A9A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A9A1F | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#069583
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2a9a1f; /* rgb */ color: rgb(42, 154, 31); /* oklch */ color: oklch(60.1% 0.185 141.9);
Tailwind
colors: {
custom: {
50: '#76b965',
500: '#2a9a1f',
950: '#000000',
},
}SCSS
$custom: #2a9a1f; $custom-light: #76b965; $custom-dark: #000000;
JSON
{
"hex": "#2a9a1f",
"rgb": {
"r": 42,
"g": 154,
"b": 31
},
"hsl": {
"h": 114.634,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.60136,
"c": 0.18508,
"h": 141.9
},
"luminance": 0.23702
}Semantic roles & 50–950 ramp
primary
#2A9A1F
secondary
#B754C1
accent
#3EE9DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A