#1A7D2C#1A7D2C
#1A7D2C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.147 H 145.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7D2C |
|---|---|
| RGB | rgb(26, 125, 44) |
| HSL | hsl(131, 66%, 30%) |
| HSV | hsv(131, 79%, 49%) |
| CMYK | cmyk(79.2%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(45.73, -45.01, 35.49) |
| CIE-LCH | lch(45.73, 57.32, 141.74°) |
| OKLab | oklab(51.72% -0.1213 0.083) |
| OKLCH | oklch(51.72% 0.147 145.6) |
| XYZ | xyz(8.2137, 15.0677, 4.8579) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.10
Tree Green
#2A7E19
ΔE00 3.47
Jungle Green
#048243
ΔE00 4.50
Green
#008000
ΔE00 4.65
Forestgreen (CSS)
#228B22
ΔE00 5.76
Dark Grass Green
#388004
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7D2C #7D1A6B
analogous
#3A7D1A #1A7D2C #1A7D5E
triadic
#1A7D2C #2C1A7D #7D2C1A
tetradic
#1A7D2C #1A3A7D #7D1A6B #7D5E1A
square
#1A7D2C #1A3A7D #7D1A6B #7D5E1A
split-complementary
#1A7D2C #5E1A7D #7D1A3A
monochromatic
#051909 #0F4A1A #1A7D2C #25B03E #3BD657
Accessibility & contrast
On white
5.23
#1A7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#1A7D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7D2C
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7D2C | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1a7d2c; /* rgb */ color: rgb(26, 125, 44); /* oklch */ color: oklch(51.7% 0.147 145.6);
Tailwind
colors: {
custom: {
50: '#69a468',
500: '#1a7d2c',
950: '#000000',
},
}SCSS
$custom: #1a7d2c; $custom-light: #69a468; $custom-dark: #000000;
JSON
{
"hex": "#1a7d2c",
"rgb": {
"r": 26,
"g": 125,
"b": 44
},
"hsl": {
"h": 130.909,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.51724,
"c": 0.14702,
"h": 145.6
},
"luminance": 0.15069
}Semantic roles & 50–950 ramp
primary
#1A7D2C
secondary
#B1429D
accent
#3FCAE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A