#1E7E42#1E7E42

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

Color values

HEX#1E7E42
RGBrgb(30, 126, 66)
HSLhsl(143, 62%, 31%)
HSVhsv(143, 76%, 49%)
CMYKcmyk(76.2%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.43, -41.38, 24.97)
CIE-LCHlch(46.43, 48.34, 148.89°)
OKLaboklab(52.42% -0.1113 0.0613)
OKLCHoklch(52.42% 0.127 151.2)
XYZxyz(8.9789, 15.5900, 7.6892)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E42 #7E1E5A
analogous
#2A7E1E #1E7E42 #1E7E72
triadic
#1E7E42 #421E7E #7E421E
tetradic
#1E7E42 #1E2A7E #7E1E5A #7E721E
square
#1E7E42 #1E2A7E #7E1E5A #7E721E
split-complementary
#1E7E42 #721E7E #7E1E2A
monochromatic
#061B0E #124D28 #1E7E42 #2AAF5C #44D279

Accessibility & contrast

On white

5.10
#1E7E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1E7E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E42
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E42#FFFFFF#000000##FFFFFF
##1E7E421.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7e42;
/* rgb */ color: rgb(30, 126, 66);
/* oklch */ color: oklch(52.4% 0.127 151.2);
Tailwind
colors: {
  custom: {
    50: '#69a477',
    500: '#1e7e42',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e42;
$custom-light: #69a477;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e42",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 142.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.12707,
    "h": 151.2
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#1E7E42
secondary
#B14789
accent
#43A8E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1E7E42

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

Preview Lab → · Contrast checker → · Palette generator →

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