#1B7C16#1B7C16
#1B7C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.160 H 142.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B7C16 |
|---|---|
| RGB | rgb(27, 124, 22) |
| HSL | hsl(117, 70%, 29%) |
| HSV | hsv(117, 82%, 49%) |
| CMYK | cmyk(78.2%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.23, -46.59, 43.94) |
| CIE-LCH | lch(45.23, 64.04, 136.68°) |
| OKLab | oklab(51.26% -0.1267 0.0979) |
| OKLCH | oklch(51.26% 0.16 142.3) |
| XYZ | xyz(7.8040, 14.7053, 3.1860) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.37
Green
#008000
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 3.99
Darkish Green
#287C37
ΔE00 4.87
Forestgreen (CSS)
#228B22
ΔE00 5.37
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B7C16 #77167C
analogous
#4E7C16 #1B7C16 #167C44
triadic
#1B7C16 #161B7C #7C161B
tetradic
#1B7C16 #164E7C #77167C #7C4416
square
#1B7C16 #164E7C #77167C #7C4416
split-complementary
#1B7C16 #44167C #7C164E
monochromatic
#061A05 #10480D #1B7C16 #26B01F #3ADB32
Accessibility & contrast
On white
5.33
#1B7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#1B7C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B7C16
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B7C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B7C16 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1b7c16; /* rgb */ color: rgb(27, 124, 22); /* oklch */ color: oklch(51.3% 0.160 142.3);
Tailwind
colors: {
custom: {
50: '#6aa35d',
500: '#1b7c16',
950: '#000000',
},
}SCSS
$custom: #1b7c16; $custom-light: #6aa35d; $custom-dark: #000000;
JSON
{
"hex": "#1b7c16",
"rgb": {
"r": 27,
"g": 124,
"b": 22
},
"hsl": {
"h": 117.059,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.5126,
"c": 0.16014,
"h": 142.3
},
"luminance": 0.14706
}Semantic roles & 50–950 ramp
primary
#1B7C16
secondary
#AB3DB1
accent
#3BEDE4
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79