#1A971F#1A971F
#1A971F is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.0% C 0.186 H 143.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1A971F |
|---|---|
| RGB | rgb(26, 151, 31) |
| HSL | hsl(122, 71%, 35%) |
| HSV | hsv(122, 83%, 59%) |
| CMYK | cmyk(82.8%, 0%, 79.5%, 40.8%) |
| CIE-LAB | lab(54.50, -54.88, 49.88) |
| CIE-LCH | lch(54.50, 74.17, 137.73°) |
| OKLab | oklab(58.99% -0.1488 0.1116) |
| OKLCH | oklch(58.99% 0.186 143.1) |
| XYZ | xyz(11.7392, 22.4503, 5.0107) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.82
True Green
#089404
ΔE00 1.88
Emerald Green
#028F1E
ΔE00 2.99
Grass Green
#3F9B0B
ΔE00 3.94
Kelley Green
#009337
ΔE00 3.98
Forestgreen (CSS)
#228B22
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A971F #971A92
analogous
#54971A #1A971F #1A975E
triadic
#1A971F #1F1A97 #971F1A
tetradic
#1A971F #1A5497 #971A92 #975E1A
square
#1A971F #1A5497 #971A92 #975E1A
split-complementary
#1A971F #5E1A97 #971A54
monochromatic
#082F0A #116314 #1A971F #23CB2A #4BE051
Accessibility & contrast
On white
3.82
#1A971F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#1A971F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1A971F
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A971F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1A971F | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1a971f; /* rgb */ color: rgb(26, 151, 31); /* oklch */ color: oklch(59.0% 0.186 143.1);
Tailwind
colors: {
custom: {
50: '#70b765',
500: '#1a971f',
950: '#000000',
},
}SCSS
$custom: #1a971f; $custom-light: #70b765; $custom-dark: #000000;
JSON
{
"hex": "#1a971f",
"rgb": {
"r": 26,
"g": 151,
"b": 31
},
"hsl": {
"h": 122.4,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.58986,
"c": 0.18597,
"h": 143.1
},
"luminance": 0.22452
}Semantic roles & 50–950 ramp
primary
#1A971F
secondary
#C24BBD
accent
#3AE6ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A