#1A7F2E#1A7F2E
#1A7F2E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 145.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7F2E |
|---|---|
| RGB | rgb(26, 127, 46) |
| HSL | hsl(132, 66%, 30%) |
| HSV | hsv(132, 80%, 50%) |
| CMYK | cmyk(79.5%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.44, -45.46, 35.34) |
| CIE-LCH | lch(46.44, 57.59, 142.14°) |
| OKLab | oklab(52.32% -0.1225 0.0829) |
| OKLCH | oklch(52.32% 0.148 145.9) |
| XYZ | xyz(8.5079, 15.5946, 5.1459) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.20
Tree Green
#2A7E19
ΔE00 3.58
Jungle Green
#048243
ΔE00 4.16
Green
#008000
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 5.24
Dark Grass Green
#388004
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7F2E #7F1A6B
analogous
#397F1A #1A7F2E #1A7F60
triadic
#1A7F2E #2E1A7F #7F2E1A
tetradic
#1A7F2E #1A397F #7F1A6B #7F601A
square
#1A7F2E #1A397F #7F1A6B #7F601A
split-complementary
#1A7F2E #601A7F #7F1A39
monochromatic
#051909 #104C1C #1A7F2E #24B240 #3CD75B
Accessibility & contrast
On white
5.10
#1A7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1A7F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7F2E
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7F2E | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1a7f2e; /* rgb */ color: rgb(26, 127, 46); /* oklch */ color: oklch(52.3% 0.148 145.9);
Tailwind
colors: {
custom: {
50: '#69a56a',
500: '#1a7f2e',
950: '#000000',
},
}SCSS
$custom: #1a7f2e; $custom-light: #69a56a; $custom-dark: #000000;
JSON
{
"hex": "#1a7f2e",
"rgb": {
"r": 26,
"g": 127,
"b": 46
},
"hsl": {
"h": 131.881,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.5232,
"c": 0.14791,
"h": 145.9
},
"luminance": 0.15596
}Semantic roles & 50–950 ramp
primary
#1A7F2E
secondary
#B3429D
accent
#3FC7E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A