#1C7D42#1C7D42
#1C7D42 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.126 H 151.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7D42 |
|---|---|
| RGB | rgb(28, 125, 66) |
| HSL | hsl(144, 63%, 30%) |
| HSV | hsv(144, 78%, 49%) |
| CMYK | cmyk(77.6%, 0%, 47.2%, 51%) |
| CIE-LAB | lab(46.05, -41.31, 24.48) |
| CIE-LCH | lch(46.05, 48.02, 149.35°) |
| OKLab | oklab(52.1% -0.1111 0.0601) |
| OKLCH | oklch(52.1% 0.126 151.6) |
| XYZ | xyz(8.7951, 15.3064, 7.6441) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.95
Darkish Green
#287C37
ΔE00 2.68
Sea Green
#2E8B57
ΔE00 5.80
Dark Sea Green
#11875D
ΔE00 6.23
Tree Green
#2A7E19
ΔE00 7.58
Dark Sage
#598556
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7D42 #7D1C57
analogous
#277D1C #1C7D42 #1C7D72
triadic
#1C7D42 #421C7D #7D421C
tetradic
#1C7D42 #1C277D #7D1C57 #7D721C
square
#1C7D42 #1C277D #7D1C57 #7D721C
split-complementary
#1C7D42 #721C7D #7D1C27
monochromatic
#06190D #114B28 #1C7D42 #27AF5C #3FD47A
Accessibility & contrast
On white
5.17
#1C7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1C7D42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7D42
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7D42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7D42 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D723D
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1c7d42; /* rgb */ color: rgb(28, 125, 66); /* oklch */ color: oklch(52.1% 0.126 151.6);
Tailwind
colors: {
custom: {
50: '#68a477',
500: '#1c7d42',
950: '#000000',
},
}SCSS
$custom: #1c7d42; $custom-light: #68a477; $custom-dark: #000000;
JSON
{
"hex": "#1c7d42",
"rgb": {
"r": 28,
"g": 125,
"b": 66
},
"hsl": {
"h": 143.505,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52096,
"c": 0.12631,
"h": 151.6
},
"luminance": 0.15307
}Semantic roles & 50–950 ramp
primary
#1C7D42
secondary
#B14486
accent
#41A6E6
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B