#1E7D2B#1E7D2B
#1E7D2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.147 H 145.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1E7D2B |
|---|---|
| RGB | rgb(30, 125, 43) |
| HSL | hsl(128, 61%, 30%) |
| HSV | hsv(128, 76%, 49%) |
| CMYK | cmyk(76%, 0%, 65.6%, 51%) |
| CIE-LAB | lab(45.79, -44.48, 36.06) |
| CIE-LCH | lch(45.79, 57.26, 140.97°) |
| OKLab | oklab(51.8% -0.1201 0.0841) |
| OKLCH | oklch(51.8% 0.147 145) |
| XYZ | xyz(8.3045, 15.1167, 4.7652) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.22
Tree Green
#2A7E19
ΔE00 3.15
Green
#008000
ΔE00 4.45
Jungle Green
#048243
ΔE00 4.77
Forestgreen (CSS)
#228B22
ΔE00 5.61
Dark Grass Green
#388004
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E7D2B #7D1E70
analogous
#407D1E #1E7D2B #1E7D5B
triadic
#1E7D2B #2B1E7D #7D2B1E
tetradic
#1E7D2B #1E407D #7D1E70 #7D5B1E
square
#1E7D2B #1E407D #7D1E70 #7D5B1E
split-complementary
#1E7D2B #5B1E7D #7D1E40
monochromatic
#061A09 #124C1A #1E7D2B #2AAE3C #43D257
Accessibility & contrast
On white
5.22
#1E7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#1E7D2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E7D2B
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E7D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E7D2B | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746A32
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1e7d2b; /* rgb */ color: rgb(30, 125, 43); /* oklch */ color: oklch(51.8% 0.147 145.0);
Tailwind
colors: {
custom: {
50: '#6aa468',
500: '#1e7d2b',
950: '#000000',
},
}SCSS
$custom: #1e7d2b; $custom-light: #6aa468; $custom-dark: #000000;
JSON
{
"hex": "#1e7d2b",
"rgb": {
"r": 30,
"g": 125,
"b": 43
},
"hsl": {
"h": 128.211,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.51798,
"c": 0.14665,
"h": 145
},
"luminance": 0.15118
}Semantic roles & 50–950 ramp
primary
#1E7D2B
secondary
#B046A2
accent
#43CEE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A