#1A7B42#1A7B42
#1A7B42 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.124 H 152.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7B42 |
|---|---|
| RGB | rgb(26, 123, 66) |
| HSL | hsl(145, 65%, 29%) |
| HSV | hsv(145, 79%, 48%) |
| CMYK | cmyk(78.9%, 0%, 46.3%, 51.8%) |
| CIE-LAB | lab(45.33, -40.82, 23.54) |
| CIE-LCH | lch(45.33, 47.13, 150.03°) |
| OKLab | oklab(51.49% -0.1098 0.058) |
| OKLCH | oklch(51.49% 0.124 152.2) |
| XYZ | xyz(8.4916, 14.7779, 7.5581) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.61
Darkish Green
#287C37
ΔE00 3.06
Sea Green
#2E8B57
ΔE00 6.35
Dark Sea Green
#11875D
ΔE00 6.40
Tree Green
#2A7E19
ΔE00 8.00
Dark Sage
#598556
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7B42 #7B1A53
analogous
#237B1A #1A7B42 #1A7B73
triadic
#1A7B42 #421A7B #7B421A
tetradic
#1A7B42 #1A237B #7B1A53 #7B731A
square
#1A7B42 #1A237B #7B1A53 #7B731A
split-complementary
#1A7B42 #731A7B #7B1A23
monochromatic
#05190E #0F4827 #1A7B42 #25AE5D #3AD57A
Accessibility & contrast
On white
5.31
#1A7B42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#1A7B42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7B42
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7B42 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1a7b42; /* rgb */ color: rgb(26, 123, 66); /* oklch */ color: oklch(51.5% 0.124 152.2);
Tailwind
colors: {
custom: {
50: '#67a277',
500: '#1a7b42',
950: '#000000',
},
}SCSS
$custom: #1a7b42; $custom-light: #67a277; $custom-dark: #000000;
JSON
{
"hex": "#1a7b42",
"rgb": {
"r": 26,
"g": 123,
"b": 66
},
"hsl": {
"h": 144.742,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.51488,
"c": 0.12415,
"h": 152.2
},
"luminance": 0.14779
}Semantic roles & 50–950 ramp
primary
#1A7B42
secondary
#AF4282
accent
#40A3E8
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B