#1E7942#1E7942

#1E7942 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.120 H 152.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1E7942
RGBrgb(30, 121, 66)
HSLhsl(144, 60%, 30%)
HSVhsv(144, 75%, 47%)
CMYKcmyk(75.2%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.72, -39.41, 22.78)
CIE-LCHlch(44.72, 45.52, 149.98°)
OKLaboklab(51.01% -0.1061 0.0562)
OKLCHoklch(51.01% 0.12 152.1)
XYZxyz(8.3554, 14.3432, 7.4814)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7942 #791E55
analogous
#28791E #1E7942 #1E7970
triadic
#1E7942 #421E79 #79421E
tetradic
#1E7942 #1E2879 #791E55 #79701E
square
#1E7942 #1E2879 #791E55 #79701E
split-complementary
#1E7942 #701E79 #791E28
monochromatic
#06190D #124827 #1E7942 #2AAA5D #41D07A

Accessibility & contrast

On white

5.43
#1E7942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1E7942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7942
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7942#FFFFFF#000000##FFFFFF
##1E79421.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6746
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7942;
/* rgb */ color: rgb(30, 121, 66);
/* oklch */ color: oklch(51.0% 0.120 152.1);
Tailwind
colors: {
  custom: {
    50: '#68a177',
    500: '#1e7942',
    950: '#000000',
  },
}
SCSS
$custom: #1e7942;
$custom-light: #68a177;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7942",
  "rgb": {
    "r": 30,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 143.736,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.12006,
    "h": 152.1
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#1E7942
secondary
#AD4684
accent
#44A5E3
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7942

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

Preview Lab → · Contrast checker → · Palette generator →

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