#1B971A#1B971A
#1B971A is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.0% C 0.188 H 142.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B971A |
|---|---|
| RGB | rgb(27, 151, 26) |
| HSL | hsl(120, 71%, 35%) |
| HSV | hsv(120, 83%, 59%) |
| CMYK | cmyk(82.1%, 0%, 82.8%, 40.8%) |
| CIE-LAB | lab(54.49, -55.08, 51.42) |
| CIE-LCH | lch(54.49, 75.35, 136.97°) |
| OKLab | oklab(58.97% -0.1495 0.1141) |
| OKLCH | oklch(58.97% 0.188 142.7) |
| XYZ | xyz(11.7043, 22.4394, 4.6915) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.56
Irish Green
#019529
ΔE00 2.25
Emerald Green
#028F1E
ΔE00 3.15
Grass Green
#3F9B0B
ΔE00 3.61
Grassy Green
#419C03
ΔE00 4.16
Forestgreen (CSS)
#228B22
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B971A #961A97
analogous
#5A971A #1B971A #1A9758
triadic
#1B971A #1A1B97 #971A1B
tetradic
#1B971A #1A5A97 #961A97 #97581A
square
#1B971A #1A5A97 #961A97 #97581A
split-complementary
#1B971A #581A97 #971A5A
monochromatic
#082F08 #126311 #1B971A #24CB23 #4DE04B
Accessibility & contrast
On white
3.83
#1B971A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#1B971A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B971A
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B971A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B971A | 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)
#8D7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #1b971a; /* rgb */ color: rgb(27, 151, 26); /* oklch */ color: oklch(59.0% 0.188 142.7);
Tailwind
colors: {
custom: {
50: '#71b762',
500: '#1b971a',
950: '#000000',
},
}SCSS
$custom: #1b971a; $custom-light: #71b762; $custom-dark: #000000;
JSON
{
"hex": "#1b971a",
"rgb": {
"r": 27,
"g": 151,
"b": 26
},
"hsl": {
"h": 119.52,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.58972,
"c": 0.1881,
"h": 142.7
},
"luminance": 0.22441
}Semantic roles & 50–950 ramp
primary
#1B971A
secondary
#C14BC2
accent
#3AEDEC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A