#1A7E42#1A7E42
#1A7E42 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.128 H 151.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7E42 |
|---|---|
| RGB | rgb(26, 126, 66) |
| HSL | hsl(144, 66%, 30%) |
| HSV | hsv(144, 79%, 49%) |
| CMYK | cmyk(79.4%, 0%, 47.6%, 50.6%) |
| CIE-LAB | lab(46.36, -41.99, 24.86) |
| CIE-LCH | lch(46.36, 48.80, 149.37°) |
| OKLab | oklab(52.34% -0.1129 0.061) |
| OKLCH | oklch(52.34% 0.128 151.6) |
| XYZ | xyz(8.8694, 15.5336, 7.6840) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.58
Darkish Green
#287C37
ΔE00 2.68
Sea Green
#2E8B57
ΔE00 5.58
Dark Sea Green
#11875D
ΔE00 6.14
Tree Green
#2A7E19
ΔE00 7.48
Dark Sage
#598556
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7E42 #7E1A56
analogous
#247E1A #1A7E42 #1A7E74
triadic
#1A7E42 #421A7E #7E421A
tetradic
#1A7E42 #1A247E #7E1A56 #7E741A
square
#1A7E42 #1A247E #7E1A56 #7E741A
split-complementary
#1A7E42 #741A7E #7E1A24
monochromatic
#05190D #104B27 #1A7E42 #24B15D #3CD77A
Accessibility & contrast
On white
5.11
#1A7E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#1A7E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7E42
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7E42 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E733D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1a7e42; /* rgb */ color: rgb(26, 126, 66); /* oklch */ color: oklch(52.3% 0.128 151.6);
Tailwind
colors: {
custom: {
50: '#68a477',
500: '#1a7e42',
950: '#000000',
},
}SCSS
$custom: #1a7e42; $custom-light: #68a477; $custom-dark: #000000;
JSON
{
"hex": "#1a7e42",
"rgb": {
"r": 26,
"g": 126,
"b": 66
},
"hsl": {
"h": 144,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52338,
"c": 0.12829,
"h": 151.6
},
"luminance": 0.15535
}Semantic roles & 50–950 ramp
primary
#1A7E42
secondary
#B24285
accent
#3FA5E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B