#1A7E2C#1A7E2C
#1A7E2C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.148 H 145.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7E2C |
|---|---|
| RGB | rgb(26, 126, 44) |
| HSL | hsl(131, 66%, 30%) |
| HSV | hsv(131, 79%, 49%) |
| CMYK | cmyk(79.4%, 0%, 65.1%, 50.6%) |
| CIE-LAB | lab(46.07, -45.36, 35.88) |
| CIE-LCH | lch(46.07, 57.84, 141.66°) |
| OKLab | oklab(52.01% -0.1223 0.0838) |
| OKLCH | oklch(52.01% 0.148 145.6) |
| XYZ | xyz(8.3409, 15.3222, 4.9003) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.26
Tree Green
#2A7E19
ΔE00 3.35
Jungle Green
#048243
ΔE00 4.48
Green
#008000
ΔE00 4.50
Forestgreen (CSS)
#228B22
ΔE00 5.41
Dark Grass Green
#388004
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7E2C #7E1A6C
analogous
#3A7E1A #1A7E2C #1A7E5E
triadic
#1A7E2C #2C1A7E #7E2C1A
tetradic
#1A7E2C #1A3A7E #7E1A6C #7E5E1A
square
#1A7E2C #1A3A7E #7E1A6C #7E5E1A
split-complementary
#1A7E2C #5E1A7E #7E1A3A
monochromatic
#051909 #104B1A #1A7E2C #24B13E #3CD758
Accessibility & contrast
On white
5.17
#1A7E2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#1A7E2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7E2C
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7E2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7E2C | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1a7e2c; /* rgb */ color: rgb(26, 126, 44); /* oklch */ color: oklch(52.0% 0.148 145.6);
Tailwind
colors: {
custom: {
50: '#69a469',
500: '#1a7e2c',
950: '#000000',
},
}SCSS
$custom: #1a7e2c; $custom-light: #69a469; $custom-dark: #000000;
JSON
{
"hex": "#1a7e2c",
"rgb": {
"r": 26,
"g": 126,
"b": 44
},
"hsl": {
"h": 130.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.5201,
"c": 0.14828,
"h": 145.6
},
"luminance": 0.15323
}Semantic roles & 50–950 ramp
primary
#1A7E2C
secondary
#B2429E
accent
#3FCAE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A