#1D7C40#1D7C40
#1D7C40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.127 H 150.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7C40 |
|---|---|
| RGB | rgb(29, 124, 64) |
| HSL | hsl(142, 62%, 30%) |
| HSV | hsv(142, 77%, 49%) |
| CMYK | cmyk(76.6%, 0%, 48.4%, 51.4%) |
| CIE-LAB | lab(45.70, -41.13, 25.13) |
| CIE-LCH | lch(45.70, 48.20, 148.57°) |
| OKLab | oklab(51.8% -0.1106 0.0615) |
| OKLCH | oklch(51.8% 0.127 150.9) |
| XYZ | xyz(8.6390, 15.0457, 7.2983) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.27
Darkish Green
#287C37
ΔE00 2.34
Sea Green
#2E8B57
ΔE00 6.23
Dark Sea Green
#11875D
ΔE00 6.70
Tree Green
#2A7E19
ΔE00 7.29
Dark Sage
#598556
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7C40 #7C1D59
analogous
#2A7C1D #1D7C40 #1D7C6F
triadic
#1D7C40 #401D7C #7C401D
tetradic
#1D7C40 #1D2A7C #7C1D59 #7C6F1D
square
#1D7C40 #1D2A7C #7C1D59 #7C6F1D
split-complementary
#1D7C40 #6F1D7C #7C1D2A
monochromatic
#06190D #114A26 #1D7C40 #29AE5A #41D377
Accessibility & contrast
On white
5.24
#1D7C40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#1D7C40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7C40
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7C40 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1d7c40; /* rgb */ color: rgb(29, 124, 64); /* oklch */ color: oklch(51.8% 0.127 150.9);
Tailwind
colors: {
custom: {
50: '#69a376',
500: '#1d7c40',
950: '#000000',
},
}SCSS
$custom: #1d7c40; $custom-light: #69a376; $custom-dark: #000000;
JSON
{
"hex": "#1d7c40",
"rgb": {
"r": 29,
"g": 124,
"b": 64
},
"hsl": {
"h": 142.105,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.51798,
"c": 0.12657,
"h": 150.9
},
"luminance": 0.15047
}Semantic roles & 50–950 ramp
primary
#1D7C40
secondary
#B04588
accent
#43A9E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B