#1C7F16#1C7F16
#1C7F16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.163 H 142.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7F16 |
|---|---|
| RGB | rgb(28, 127, 22) |
| HSL | hsl(117, 70%, 29%) |
| HSV | hsv(117, 83%, 50%) |
| CMYK | cmyk(78%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.29, -47.44, 44.95) |
| CIE-LCH | lch(46.29, 65.35, 136.54°) |
| OKLab | oklab(52.15% -0.129 0.1) |
| OKLCH | oklch(52.15% 0.163 142.2) |
| XYZ | xyz(8.2126, 15.4826, 3.3145) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.07
Green
#008000
ΔE00 1.61
Dark Grass Green
#388004
ΔE00 3.51
Forestgreen (CSS)
#228B22
ΔE00 4.33
Darkish Green
#287C37
ΔE00 5.16
Emerald Green
#028F1E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7F16 #79167F
analogous
#517F16 #1C7F16 #167F44
triadic
#1C7F16 #161C7F #7F161C
tetradic
#1C7F16 #16517F #79167F #7F4416
square
#1C7F16 #16517F #79167F #7F4416
split-complementary
#1C7F16 #44167F #7F1651
monochromatic
#061A05 #104B0D #1C7F16 #28B31F #3DDC34
Accessibility & contrast
On white
5.13
#1C7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1C7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7F16
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7F16 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 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: #1c7f16; /* rgb */ color: rgb(28, 127, 22); /* oklch */ color: oklch(52.1% 0.163 142.2);
Tailwind
colors: {
custom: {
50: '#6ba55d',
500: '#1c7f16',
950: '#000000',
},
}SCSS
$custom: #1c7f16; $custom-light: #6ba55d; $custom-dark: #000000;
JSON
{
"hex": "#1c7f16",
"rgb": {
"r": 28,
"g": 127,
"b": 22
},
"hsl": {
"h": 116.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52147,
"c": 0.16327,
"h": 142.2
},
"luminance": 0.15484
}Semantic roles & 50–950 ramp
primary
#1C7F16
secondary
#AD3DB4
accent
#3BEDE3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79