#1A7F22#1A7F22
#1A7F22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7F22 |
|---|---|
| RGB | rgb(26, 127, 34) |
| HSL | hsl(125, 66%, 30%) |
| HSV | hsv(125, 80%, 50%) |
| CMYK | cmyk(79.5%, 0%, 73.2%, 50.2%) |
| CIE-LAB | lab(46.33, -46.80, 40.59) |
| CIE-LCH | lch(46.33, 61.95, 139.06°) |
| OKLab | oklab(52.2% -0.1267 0.0926) |
| OKLCH | oklch(52.2% 0.157 143.8) |
| XYZ | xyz(8.3036, 15.5129, 4.0697) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.94
Green
#008000
ΔE00 2.89
Darkish Green
#287C37
ΔE00 3.79
Forestgreen (CSS)
#228B22
ΔE00 4.47
Dark Grass Green
#388004
ΔE00 4.72
Emerald Green
#028F1E
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7F22 #7F1A77
analogous
#457F1A #1A7F22 #1A7F54
triadic
#1A7F22 #221A7F #7F221A
tetradic
#1A7F22 #1A457F #7F1A77 #7F541A
square
#1A7F22 #1A457F #7F1A77 #7F541A
split-complementary
#1A7F22 #541A7F #7F1A45
monochromatic
#051907 #104C14 #1A7F22 #24B230 #3CD749
Accessibility & contrast
On white
5.12
#1A7F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1A7F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7F22
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7F22 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1a7f22; /* rgb */ color: rgb(26, 127, 34); /* oklch */ color: oklch(52.2% 0.157 143.8);
Tailwind
colors: {
custom: {
50: '#6aa563',
500: '#1a7f22',
950: '#000000',
},
}SCSS
$custom: #1a7f22; $custom-light: #6aa563; $custom-dark: #000000;
JSON
{
"hex": "#1a7f22",
"rgb": {
"r": 26,
"g": 127,
"b": 34
},
"hsl": {
"h": 124.752,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52195,
"c": 0.15691,
"h": 143.8
},
"luminance": 0.15514
}Semantic roles & 50–950 ramp
primary
#1A7F22
secondary
#B342AA
accent
#3FDBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A