#1A971B#1A971B
#1A971B is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.188 H 142.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1A971B |
|---|---|
| RGB | rgb(26, 151, 27) |
| HSL | hsl(120, 71%, 35%) |
| HSV | hsv(120, 83%, 59%) |
| CMYK | cmyk(82.8%, 0%, 82.1%, 40.8%) |
| CIE-LAB | lab(54.48, -55.14, 51.11) |
| CIE-LCH | lch(54.48, 75.19, 137.17°) |
| OKLab | oklab(58.96% -0.1496 0.1136) |
| OKLCH | oklch(58.96% 0.188 142.8) |
| XYZ | xyz(11.6897, 22.4305, 4.7501) |
| Luminance | 0.2243 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.61
Irish Green
#019529
ΔE00 2.14
Emerald Green
#028F1E
ΔE00 3.10
Grass Green
#3F9B0B
ΔE00 3.70
Grassy Green
#419C03
ΔE00 4.25
Forestgreen (CSS)
#228B22
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A971B #971A96
analogous
#58971A #1A971B #1A975A
triadic
#1A971B #1B1A97 #971B1A
tetradic
#1A971B #1A5897 #971A96 #975A1A
square
#1A971B #1A5897 #971A96 #975A1A
split-complementary
#1A971B #5A1A97 #971A58
monochromatic
#082F08 #116312 #1A971B #23CB24 #4BE04D
Accessibility & contrast
On white
3.83
#1A971B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#1A971B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1A971B
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A971B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1A971B | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 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)
#8D7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1a971b; /* rgb */ color: rgb(26, 151, 27); /* oklch */ color: oklch(59.0% 0.188 142.8);
Tailwind
colors: {
custom: {
50: '#70b763',
500: '#1a971b',
950: '#000000',
},
}SCSS
$custom: #1a971b; $custom-light: #70b763; $custom-dark: #000000;
JSON
{
"hex": "#1a971b",
"rgb": {
"r": 26,
"g": 151,
"b": 27
},
"hsl": {
"h": 120.48,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.58962,
"c": 0.18787,
"h": 142.8
},
"luminance": 0.22432
}Semantic roles & 50–950 ramp
primary
#1A971B
secondary
#C24BC1
accent
#3AECED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A