#1E7A40#1E7A40

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

Color values

HEX#1E7A40
RGBrgb(30, 122, 64)
HSLhsl(142, 61%, 30%)
HSVhsv(142, 75%, 48%)
CMYKcmyk(75.4%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.03, -40.18, 24.29)
CIE-LCHlch(45.03, 46.95, 148.85°)
OKLaboklab(51.26% -0.1081 0.0596)
OKLCHoklch(51.26% 0.123 151.1)
XYZxyz(8.4197, 14.5643, 7.2169)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A40 #7A1E58
analogous
#2A7A1E #1E7A40 #1E7A6E
triadic
#1E7A40 #401E7A #7A401E
tetradic
#1E7A40 #1E2A7A #7A1E58 #7A6E1E
square
#1E7A40 #1E2A7A #7A1E58 #7A6E1E
split-complementary
#1E7A40 #6E1E7A #7A1E2A
monochromatic
#06190D #124926 #1E7A40 #2AAB5A #42D077

Accessibility & contrast

On white

5.37
#1E7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1E7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A40
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A40#FFFFFF#000000##FFFFFF
##1E7A401.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7a40;
/* rgb */ color: rgb(30, 122, 64);
/* oklch */ color: oklch(51.3% 0.123 151.1);
Tailwind
colors: {
  custom: {
    50: '#68a176',
    500: '#1e7a40',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a40;
$custom-light: #68a176;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a40",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 142.174,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.12346,
    "h": 151.1
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#1E7A40
secondary
#AE4687
accent
#44A9E4
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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