#1B7F16#1B7F16
#1B7F16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.164 H 142.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7F16 |
|---|---|
| RGB | rgb(27, 127, 22) |
| HSL | hsl(117, 70%, 29%) |
| HSV | hsv(117, 83%, 50%) |
| CMYK | cmyk(78.7%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.27, -47.60, 44.92) |
| CIE-LCH | lch(46.27, 65.45, 136.66°) |
| OKLab | oklab(52.13% -0.1294 0.1) |
| OKLCH | oklch(52.13% 0.164 142.3) |
| XYZ | xyz(8.1857, 15.4687, 3.3133) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.13
Green
#008000
ΔE00 1.60
Dark Grass Green
#388004
ΔE00 3.56
Forestgreen (CSS)
#228B22
ΔE00 4.34
Darkish Green
#287C37
ΔE00 5.15
Emerald Green
#028F1E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7F16 #7A167F
analogous
#507F16 #1B7F16 #167F46
triadic
#1B7F16 #161B7F #7F161B
tetradic
#1B7F16 #16507F #7A167F #7F4616
square
#1B7F16 #16507F #7A167F #7F4616
split-complementary
#1B7F16 #46167F #7F1650
monochromatic
#061A05 #104B0D #1B7F16 #26B31F #3CDC34
Accessibility & contrast
On white
5.13
#1B7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#1B7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7F16
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7F16 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1b7f16; /* rgb */ color: rgb(27, 127, 22); /* oklch */ color: oklch(52.1% 0.164 142.3);
Tailwind
colors: {
custom: {
50: '#6ba55d',
500: '#1b7f16',
950: '#000000',
},
}SCSS
$custom: #1b7f16; $custom-light: #6ba55d; $custom-dark: #000000;
JSON
{
"hex": "#1b7f16",
"rgb": {
"r": 27,
"g": 127,
"b": 22
},
"hsl": {
"h": 117.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52126,
"c": 0.16354,
"h": 142.3
},
"luminance": 0.1547
}Semantic roles & 50–950 ramp
primary
#1B7F16
secondary
#AE3DB4
accent
#3BEDE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79