#1C7B16#1C7B16
#1C7B16 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.159 H 142.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7B16 |
|---|---|
| RGB | rgb(28, 123, 22) |
| HSL | hsl(116, 70%, 28%) |
| HSV | hsv(116, 82%, 48%) |
| CMYK | cmyk(77.2%, 0%, 82.1%, 51.8%) |
| CIE-LAB | lab(44.90, -46.09, 43.63) |
| CIE-LCH | lch(44.90, 63.47, 136.57°) |
| OKLab | oklab(50.99% -0.1254 0.0973) |
| OKLCH | oklch(50.99% 0.159 142.2) |
| XYZ | xyz(7.7062, 14.4698, 3.1457) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.55
Green
#008000
ΔE00 2.45
Dark Grass Green
#388004
ΔE00 4.13
Darkish Green
#287C37
ΔE00 4.83
Forestgreen (CSS)
#228B22
ΔE00 5.71
Emerald Green
#028F1E
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7B16 #75167B
analogous
#4E7B16 #1C7B16 #167B42
triadic
#1C7B16 #161C7B #7B161C
tetradic
#1C7B16 #164E7B #75167B #7B4216
square
#1C7B16 #164E7B #75167B #7B4216
split-complementary
#1C7B16 #42167B #7B164E
monochromatic
#061A05 #10470D #1C7B16 #28AF1F #3BDA31
Accessibility & contrast
On white
5.39
#1C7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#1C7B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7B16
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7B16 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1c7b16; /* rgb */ color: rgb(28, 123, 22); /* oklch */ color: oklch(51.0% 0.159 142.2);
Tailwind
colors: {
custom: {
50: '#6aa25c',
500: '#1c7b16',
950: '#000000',
},
}SCSS
$custom: #1c7b16; $custom-light: #6aa25c; $custom-dark: #000000;
JSON
{
"hex": "#1c7b16",
"rgb": {
"r": 28,
"g": 123,
"b": 22
},
"hsl": {
"h": 116.436,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.50992,
"c": 0.1587,
"h": 142.2
},
"luminance": 0.14471
}Semantic roles & 50–950 ramp
primary
#1C7B16
secondary
#A93DB0
accent
#3BECE2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79