#1E7D2F#1E7D2F
#1E7D2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.143 H 145.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7D2F |
|---|---|
| RGB | rgb(30, 125, 47) |
| HSL | hsl(131, 61%, 30%) |
| HSV | hsv(131, 76%, 49%) |
| CMYK | cmyk(76%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(45.84, -43.98, 34.19) |
| CIE-LCH | lch(45.84, 55.70, 142.14°) |
| OKLab | oklab(51.85% -0.1186 0.0805) |
| OKLCH | oklch(51.85% 0.143 145.8) |
| XYZ | xyz(8.3815, 15.1475, 5.1708) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.61
Tree Green
#2A7E19
ΔE00 3.80
Jungle Green
#048243
ΔE00 4.15
Green
#008000
ΔE00 5.11
Forestgreen (CSS)
#228B22
ΔE00 5.95
Dark Grass Green
#388004
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7D2F #7D1E6C
analogous
#3C7D1E #1E7D2F #1E7D5E
triadic
#1E7D2F #2F1E7D #7D2F1E
tetradic
#1E7D2F #1E3C7D #7D1E6C #7D5E1E
square
#1E7D2F #1E3C7D #7D1E6C #7D5E1E
split-complementary
#1E7D2F #5E1E7D #7D1E3C
monochromatic
#061A0A #124C1C #1E7D2F #2AAE42 #43D25D
Accessibility & contrast
On white
5.21
#1E7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#1E7D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7D2F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7D2F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1e7d2f; /* rgb */ color: rgb(30, 125, 47); /* oklch */ color: oklch(51.8% 0.143 145.8);
Tailwind
colors: {
custom: {
50: '#6aa46a',
500: '#1e7d2f',
950: '#000000',
},
}SCSS
$custom: #1e7d2f; $custom-light: #6aa46a; $custom-dark: #000000;
JSON
{
"hex": "#1e7d2f",
"rgb": {
"r": 30,
"g": 125,
"b": 47
},
"hsl": {
"h": 130.737,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.51846,
"c": 0.14335,
"h": 145.8
},
"luminance": 0.15148
}Semantic roles & 50–950 ramp
primary
#1E7D2F
secondary
#B0469D
accent
#43C8E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A