#1C7A40#1C7A40
#1C7A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.124 H 151.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7A40 |
|---|---|
| RGB | rgb(28, 122, 64) |
| HSL | hsl(143, 63%, 29%) |
| HSV | hsv(143, 77%, 48%) |
| CMYK | cmyk(77%, 0%, 47.5%, 52.2%) |
| CIE-LAB | lab(44.99, -40.50, 24.23) |
| CIE-LCH | lch(44.99, 47.20, 149.11°) |
| OKLab | oklab(51.21% -0.1089 0.0595) |
| OKLCH | oklch(51.21% 0.124 151.4) |
| XYZ | xyz(8.3631, 14.5351, 7.2143) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.77
Jungle Green
#048243
ΔE00 2.92
Sea Green
#2E8B57
ΔE00 6.76
Dark Sea Green
#11875D
ΔE00 6.88
Tree Green
#2A7E19
ΔE00 7.71
Dark Sage
#598556
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7A40 #7A1C56
analogous
#277A1C #1C7A40 #1C7A6F
triadic
#1C7A40 #401C7A #7A401C
tetradic
#1C7A40 #1C277A #7A1C56 #7A6F1C
square
#1C7A40 #1C277A #7A1C56 #7A6F1C
split-complementary
#1C7A40 #6F1C7A #7A1C27
monochromatic
#06190D #114826 #1C7A40 #27AC5A #3ED377
Accessibility & contrast
On white
5.37
#1C7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1C7A40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7A40
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7A40 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1c7a40; /* rgb */ color: rgb(28, 122, 64); /* oklch */ color: oklch(51.2% 0.124 151.4);
Tailwind
colors: {
custom: {
50: '#68a176',
500: '#1c7a40',
950: '#000000',
},
}SCSS
$custom: #1c7a40; $custom-light: #68a176; $custom-dark: #000000;
JSON
{
"hex": "#1c7a40",
"rgb": {
"r": 28,
"g": 122,
"b": 64
},
"hsl": {
"h": 142.979,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51209,
"c": 0.12411,
"h": 151.4
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#1C7A40
secondary
#AE4485
accent
#42A7E6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B