#1A7C2E#1A7C2E
#1A7C2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.144 H 146.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7C2E |
|---|---|
| RGB | rgb(26, 124, 46) |
| HSL | hsl(132, 65%, 29%) |
| HSV | hsv(132, 79%, 49%) |
| CMYK | cmyk(79%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.40, -44.40, 34.16) |
| CIE-LCH | lch(45.40, 56.01, 142.43°) |
| OKLab | oklab(51.46% -0.1196 0.0804) |
| OKLCH | oklch(51.46% 0.144 146.1) |
| XYZ | xyz(8.1262, 14.8312, 5.0187) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.71
Tree Green
#2A7E19
ΔE00 3.95
Jungle Green
#048243
ΔE00 4.25
Green
#008000
ΔE00 5.17
Forestgreen (CSS)
#228B22
ΔE00 6.29
Dark Grass Green
#388004
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7C2E #7C1A68
analogous
#377C1A #1A7C2E #1A7C5F
triadic
#1A7C2E #2E1A7C #7C2E1A
tetradic
#1A7C2E #1A377C #7C1A68 #7C5F1A
square
#1A7C2E #1A377C #7C1A68 #7C5F1A
split-complementary
#1A7C2E #5F1A7C #7C1A37
monochromatic
#051909 #0F491B #1A7C2E #25AF41 #3BD65A
Accessibility & contrast
On white
5.29
#1A7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#1A7C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7C2E
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7C2E | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #1a7c2e; /* rgb */ color: rgb(26, 124, 46); /* oklch */ color: oklch(51.5% 0.144 146.1);
Tailwind
colors: {
custom: {
50: '#68a36a',
500: '#1a7c2e',
950: '#000000',
},
}SCSS
$custom: #1a7c2e; $custom-light: #68a36a; $custom-dark: #000000;
JSON
{
"hex": "#1a7c2e",
"rgb": {
"r": 26,
"g": 124,
"b": 46
},
"hsl": {
"h": 132.245,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.51461,
"c": 0.14408,
"h": 146.1
},
"luminance": 0.14832
}Semantic roles & 50–950 ramp
primary
#1A7C2E
secondary
#B0429A
accent
#40C6E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A