#1E7E40#1E7E40

#1E7E40 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.129 H 150.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1E7E40
RGBrgb(30, 126, 64)
HSLhsl(141, 62%, 31%)
HSVhsv(141, 76%, 49%)
CMYKcmyk(76.2%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.40, -41.74, 26.03)
CIE-LCHlch(46.40, 49.19, 148.05°)
OKLaboklab(52.39% -0.1123 0.0636)
OKLCHoklch(52.39% 0.129 150.5)
XYZxyz(8.9209, 15.5669, 7.3840)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E40 #7E1E5C
analogous
#2C7E1E #1E7E40 #1E7E70
triadic
#1E7E40 #401E7E #7E401E
tetradic
#1E7E40 #1E2C7E #7E1E5C #7E701E
square
#1E7E40 #1E2C7E #7E1E5C #7E701E
split-complementary
#1E7E40 #701E7E #7E1E2C
monochromatic
#061B0E #124D27 #1E7E40 #2AAF59 #44D276

Accessibility & contrast

On white

5.11
#1E7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1E7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E40
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E40#FFFFFF#000000##FFFFFF
##1E7E401.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7e40;
/* rgb */ color: rgb(30, 126, 64);
/* oklch */ color: oklch(52.4% 0.129 150.5);
Tailwind
colors: {
  custom: {
    50: '#69a476',
    500: '#1e7e40',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e40;
$custom-light: #69a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e40",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 141.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.12902,
    "h": 150.5
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#1E7E40
secondary
#B1478B
accent
#43ABE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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