#1A7C16#1A7C16
#1A7C16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.160 H 142.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7C16 |
|---|---|
| RGB | rgb(26, 124, 22) |
| HSL | hsl(118, 70%, 29%) |
| HSV | hsv(118, 82%, 49%) |
| CMYK | cmyk(79%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.21, -46.76, 43.91) |
| CIE-LCH | lch(45.21, 64.14, 136.80°) |
| OKLab | oklab(51.24% -0.1271 0.0979) |
| OKLCH | oklch(51.24% 0.16 142.4) |
| XYZ | xyz(7.7780, 14.6919, 3.1848) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.43
Green
#008000
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 4.05
Darkish Green
#287C37
ΔE00 4.86
Forestgreen (CSS)
#228B22
ΔE00 5.38
Emerald Green
#028F1E
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7C16 #78167C
analogous
#4D7C16 #1A7C16 #167C45
triadic
#1A7C16 #161A7C #7C161A
tetradic
#1A7C16 #164D7C #78167C #7C4516
square
#1A7C16 #164D7C #78167C #7C4516
split-complementary
#1A7C16 #45167C #7C164D
monochromatic
#051A05 #0F480D #1A7C16 #25B01F #38DB32
Accessibility & contrast
On white
5.33
#1A7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#1A7C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7C16
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7C16 | 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)
#7F6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1a7c16; /* rgb */ color: rgb(26, 124, 22); /* oklch */ color: oklch(51.2% 0.160 142.4);
Tailwind
colors: {
custom: {
50: '#6aa35d',
500: '#1a7c16',
950: '#000000',
},
}SCSS
$custom: #1a7c16; $custom-light: #6aa35d; $custom-dark: #000000;
JSON
{
"hex": "#1a7c16",
"rgb": {
"r": 26,
"g": 124,
"b": 22
},
"hsl": {
"h": 117.647,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51239,
"c": 0.16041,
"h": 142.4
},
"luminance": 0.14693
}Semantic roles & 50–950 ramp
primary
#1A7C16
secondary
#AC3DB1
accent
#3BEDE6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79