#1D7E2F#1D7E2F
#1D7E2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.145 H 145.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1D7E2F |
|---|---|
| RGB | rgb(29, 126, 47) |
| HSL | hsl(131, 63%, 30%) |
| HSV | hsv(131, 77%, 49%) |
| CMYK | cmyk(77%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.16, -44.51, 34.55) |
| CIE-LCH | lch(46.16, 56.35, 142.18°) |
| OKLab | oklab(52.11% -0.12 0.0813) |
| OKLCH | oklch(52.11% 0.145 145.9) |
| XYZ | xyz(8.4800, 15.3872, 5.2119) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.81
Tree Green
#2A7E19
ΔE00 3.72
Jungle Green
#048243
ΔE00 4.09
Green
#008000
ΔE00 4.96
Forestgreen (CSS)
#228B22
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D7E2F #7E1D6C
analogous
#3B7E1D #1D7E2F #1D7E5F
triadic
#1D7E2F #2F1D7E #7E2F1D
tetradic
#1D7E2F #1D3B7E #7E1D6C #7E5F1D
square
#1D7E2F #1D3B7E #7E1D6C #7E5F1D
split-complementary
#1D7E2F #5F1D7E #7E1D3B
monochromatic
#061B0A #124C1C #1D7E2F #28B042 #42D35D
Accessibility & contrast
On white
5.15
#1D7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#1D7E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1D7E2F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D7E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D7E2F | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1d7e2f; /* rgb */ color: rgb(29, 126, 47); /* oklch */ color: oklch(52.1% 0.145 145.9);
Tailwind
colors: {
custom: {
50: '#6aa46a',
500: '#1d7e2f',
950: '#000000',
},
}SCSS
$custom: #1d7e2f; $custom-light: #6aa46a; $custom-dark: #000000;
JSON
{
"hex": "#1d7e2f",
"rgb": {
"r": 29,
"g": 126,
"b": 47
},
"hsl": {
"h": 131.134,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52109,
"c": 0.14494,
"h": 145.9
},
"luminance": 0.15388
}Semantic roles & 50–950 ramp
primary
#1D7E2F
secondary
#B1459D
accent
#42C7E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A