#1C7E1E#1C7E1E
#1C7E1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.158 H 143.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7E1E |
|---|---|
| RGB | rgb(28, 126, 30) |
| HSL | hsl(121, 64%, 30%) |
| HSV | hsv(121, 78%, 49%) |
| CMYK | cmyk(77.8%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(45.99, -46.50, 41.85) |
| CIE-LCH | lch(45.99, 62.56, 138.01°) |
| OKLab | oklab(51.91% -0.1261 0.0947) |
| OKLCH | oklch(51.91% 0.158 143.1) |
| XYZ | xyz(8.1736, 15.2614, 3.7430) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.47
Green
#008000
ΔE00 2.52
Darkish Green
#287C37
ΔE00 4.16
Dark Grass Green
#388004
ΔE00 4.31
Forestgreen (CSS)
#228B22
ΔE00 4.70
Emerald Green
#028F1E
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7E1E #7E1C7C
analogous
#4B7E1C #1C7E1E #1C7E4F
triadic
#1C7E1E #1E1C7E #7E1E1C
tetradic
#1C7E1E #1C4B7E #7E1C7C #7E4F1C
square
#1C7E1E #1C4B7E #7E1C7C #7E4F1C
split-complementary
#1C7E1E #4F1C7E #7E1C4B
monochromatic
#061A06 #114C12 #1C7E1E #27B02A #40D543
Accessibility & contrast
On white
5.18
#1C7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1C7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7E1E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7E1E | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1c7e1e; /* rgb */ color: rgb(28, 126, 30); /* oklch */ color: oklch(51.9% 0.158 143.1);
Tailwind
colors: {
custom: {
50: '#6aa461',
500: '#1c7e1e',
950: '#000000',
},
}SCSS
$custom: #1c7e1e; $custom-light: #6aa461; $custom-dark: #000000;
JSON
{
"hex": "#1c7e1e",
"rgb": {
"r": 28,
"g": 126,
"b": 30
},
"hsl": {
"h": 121.224,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.51914,
"c": 0.15772,
"h": 143.1
},
"luminance": 0.15262
}Semantic roles & 50–950 ramp
primary
#1C7E1E
secondary
#B244AF
accent
#41E3E7
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79