#1C7A42#1C7A42
#1C7A42 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.122 H 152.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7A42 |
|---|---|
| RGB | rgb(28, 122, 66) |
| HSL | hsl(144, 63%, 29%) |
| HSV | hsv(144, 77%, 48%) |
| CMYK | cmyk(77%, 0%, 45.9%, 52.2%) |
| CIE-LAB | lab(45.02, -40.13, 23.16) |
| CIE-LCH | lch(45.02, 46.33, 150.01°) |
| OKLab | oklab(51.25% -0.108 0.0571) |
| OKLCH | oklch(51.25% 0.122 152.1) |
| XYZ | xyz(8.4211, 14.5583, 7.5194) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.00
Darkish Green
#287C37
ΔE00 3.20
Dark Sea Green
#11875D
ΔE00 6.54
Sea Green
#2E8B57
ΔE00 6.61
Tree Green
#2A7E19
ΔE00 8.15
Dark Sage
#598556
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7A42 #7A1C54
analogous
#257A1C #1C7A42 #1C7A71
triadic
#1C7A42 #421C7A #7A421C
tetradic
#1C7A42 #1C257A #7A1C54 #7A711C
square
#1C7A42 #1C257A #7A1C54 #7A711C
split-complementary
#1C7A42 #711C7A #7A1C25
monochromatic
#06190D #114827 #1C7A42 #27AC5D #3ED37A
Accessibility & contrast
On white
5.37
#1C7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#1C7A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7A42
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7A42 | 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)
#7A6F3E
Deuteranopia (green-blind)
#6F6746
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1c7a42; /* rgb */ color: rgb(28, 122, 66); /* oklch */ color: oklch(51.2% 0.122 152.1);
Tailwind
colors: {
custom: {
50: '#68a177',
500: '#1c7a42',
950: '#000000',
},
}SCSS
$custom: #1c7a42; $custom-light: #68a177; $custom-dark: #000000;
JSON
{
"hex": "#1c7a42",
"rgb": {
"r": 28,
"g": 122,
"b": 66
},
"hsl": {
"h": 144.255,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.51247,
"c": 0.12213,
"h": 152.1
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#1C7A42
secondary
#AE4483
accent
#42A4E6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B