#1E7D40#1E7D40

#1E7D40 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.128 H 150.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1E7D40
RGBrgb(30, 125, 64)
HSLhsl(141, 61%, 30%)
HSVhsv(141, 76%, 49%)
CMYKcmyk(76%, 0%, 48.8%, 51%)
CIE-LABlab(46.06, -41.35, 25.60)
CIE-LCHlch(46.06, 48.63, 148.25°)
OKLaboklab(52.1% -0.1112 0.0626)
OKLCHoklch(52.1% 0.128 150.6)
XYZxyz(8.7937, 15.3124, 7.3416)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7D40 #7D1E5B
analogous
#2B7D1E #1E7D40 #1E7D6F
triadic
#1E7D40 #401E7D #7D401E
tetradic
#1E7D40 #1E2B7D #7D1E5B #7D6F1E
square
#1E7D40 #1E2B7D #7D1E5B #7D6F1E
split-complementary
#1E7D40 #6F1E7D #7D1E2B
monochromatic
#061A0D #124C27 #1E7D40 #2AAE59 #43D276

Accessibility & contrast

On white

5.17
#1E7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1E7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7D40
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7D40#FFFFFF#000000##FFFFFF
##1E7D401.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7d40;
/* rgb */ color: rgb(30, 125, 64);
/* oklch */ color: oklch(52.1% 0.128 150.6);
Tailwind
colors: {
  custom: {
    50: '#69a476',
    500: '#1e7d40',
    950: '#000000',
  },
}
SCSS
$custom: #1e7d40;
$custom-light: #69a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7d40",
  "rgb": {
    "r": 30,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 141.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.12764,
    "h": 150.6
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#1E7D40
secondary
#B0468A
accent
#43ABE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7D40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E7D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva