#1B7917#1B7917
#1B7917 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.156 H 142.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7917 |
|---|---|
| RGB | rgb(27, 121, 23) |
| HSL | hsl(118, 68%, 28%) |
| HSV | hsv(118, 81%, 47%) |
| CMYK | cmyk(77.7%, 0%, 81%, 52.5%) |
| CIE-LAB | lab(44.19, -45.51, 42.61) |
| CIE-LCH | lch(44.19, 62.34, 136.89°) |
| OKLab | oklab(50.4% -0.1237 0.0953) |
| OKLCH | oklch(50.4% 0.156 142.4) |
| XYZ | xyz(7.4436, 13.9688, 3.1144) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.19
Green
#008000
ΔE00 3.09
Dark Grass Green
#388004
ΔE00 4.69
Darkish Green
#287C37
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 6.41
Darkgreen
#006400
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7917 #751779
analogous
#4C7917 #1B7917 #177944
triadic
#1B7917 #171B79 #79171B
tetradic
#1B7917 #174C79 #751779 #794417
square
#1B7917 #174C79 #751779 #794417
split-complementary
#1B7917 #441779 #79174C
monochromatic
#061A05 #10460D #1B7917 #26AC21 #39D832
Accessibility & contrast
On white
5.54
#1B7917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#1B7917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7917
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7917 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1b7917; /* rgb */ color: rgb(27, 121, 23); /* oklch */ color: oklch(50.4% 0.156 142.4);
Tailwind
colors: {
custom: {
50: '#69a15d',
500: '#1b7917',
950: '#000000',
},
}SCSS
$custom: #1b7917; $custom-light: #69a15d; $custom-dark: #000000;
JSON
{
"hex": "#1b7917",
"rgb": {
"r": 27,
"g": 121,
"b": 23
},
"hsl": {
"h": 117.551,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.50397,
"c": 0.15617,
"h": 142.4
},
"luminance": 0.1397
}Semantic roles & 50–950 ramp
primary
#1B7917
secondary
#A93EAE
accent
#3DEBE4
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79