#1E7A42#1E7A42

#1E7A42 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.121 H 151.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1E7A42
RGBrgb(30, 122, 66)
HSLhsl(143, 61%, 30%)
HSVhsv(143, 75%, 48%)
CMYKcmyk(75.4%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.06, -39.81, 23.22)
CIE-LCHlch(45.06, 46.08, 149.75°)
OKLaboklab(51.29% -0.1072 0.0572)
OKLCHoklch(51.29% 0.121 151.9)
XYZxyz(8.4776, 14.5875, 7.5221)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A42 #7A1E56
analogous
#287A1E #1E7A42 #1E7A70
triadic
#1E7A42 #421E7A #7A421E
tetradic
#1E7A42 #1E287A #7A1E56 #7A701E
square
#1E7A42 #1E287A #7A1E56 #7A701E
split-complementary
#1E7A42 #701E7A #7A1E28
monochromatic
#06190D #124927 #1E7A42 #2AAB5D #42D07A

Accessibility & contrast

On white

5.36
#1E7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1E7A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A42
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A42#FFFFFF#000000##FFFFFF
##1E7A421.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#6F6846
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1e7a42;
/* rgb */ color: rgb(30, 122, 66);
/* oklch */ color: oklch(51.3% 0.121 151.9);
Tailwind
colors: {
  custom: {
    50: '#68a177',
    500: '#1e7a42',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a42;
$custom-light: #68a177;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a42",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 143.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.12147,
    "h": 151.9
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#1E7A42
secondary
#AE4685
accent
#44A5E4
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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