#1A7F2F#1A7F2F
#1A7F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.147 H 146.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7F2F |
|---|---|
| RGB | rgb(26, 127, 47) |
| HSL | hsl(132, 66%, 30%) |
| HSV | hsv(132, 80%, 50%) |
| CMYK | cmyk(79.5%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.45, -45.34, 34.87) |
| CIE-LCH | lch(46.45, 57.20, 142.43°) |
| OKLab | oklab(52.33% -0.1221 0.082) |
| OKLCH | oklch(52.33% 0.147 146.1) |
| XYZ | xyz(8.5278, 15.6026, 5.2509) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.07
Tree Green
#2A7E19
ΔE00 3.74
Jungle Green
#048243
ΔE00 4.00
Green
#008000
ΔE00 4.86
Forestgreen (CSS)
#228B22
ΔE00 5.33
Dark Grass Green
#388004
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7F2F #7F1A6A
analogous
#387F1A #1A7F2F #1A7F61
triadic
#1A7F2F #2F1A7F #7F2F1A
tetradic
#1A7F2F #1A387F #7F1A6A #7F611A
square
#1A7F2F #1A387F #7F1A6A #7F611A
split-complementary
#1A7F2F #611A7F #7F1A38
monochromatic
#051909 #104C1C #1A7F2F #24B242 #3CD75C
Accessibility & contrast
On white
5.10
#1A7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1A7F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7F2F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7F2F | 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)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1a7f2f; /* rgb */ color: rgb(26, 127, 47); /* oklch */ color: oklch(52.3% 0.147 146.1);
Tailwind
colors: {
custom: {
50: '#69a56a',
500: '#1a7f2f',
950: '#000000',
},
}SCSS
$custom: #1a7f2f; $custom-light: #69a56a; $custom-dark: #000000;
JSON
{
"hex": "#1a7f2f",
"rgb": {
"r": 26,
"g": 127,
"b": 47
},
"hsl": {
"h": 132.475,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52333,
"c": 0.14709,
"h": 146.1
},
"luminance": 0.15604
}Semantic roles & 50–950 ramp
primary
#1A7F2F
secondary
#B3429B
accent
#3FC6E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A