#1E7C40#1E7C40

#1E7C40 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.126 H 150.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1E7C40
RGBrgb(30, 124, 64)
HSLhsl(142, 61%, 30%)
HSVhsv(142, 76%, 49%)
CMYKcmyk(75.8%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.72, -40.96, 25.16)
CIE-LCHlch(45.72, 48.07, 148.44°)
OKLaboklab(51.82% -0.1102 0.0616)
OKLCHoklch(51.82% 0.126 150.8)
XYZxyz(8.6678, 15.0605, 7.2996)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7C40 #7C1E5A
analogous
#2B7C1E #1E7C40 #1E7C6F
triadic
#1E7C40 #401E7C #7C401E
tetradic
#1E7C40 #1E2B7C #7C1E5A #7C6F1E
square
#1E7C40 #1E2B7C #7C1E5A #7C6F1E
split-complementary
#1E7C40 #6F1E7C #7C1E2B
monochromatic
#06190D #124B27 #1E7C40 #2AAD59 #43D176

Accessibility & contrast

On white

5.23
#1E7C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1E7C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7C40
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7C40#FFFFFF#000000##FFFFFF
##1E7C401.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7c40;
/* rgb */ color: rgb(30, 124, 64);
/* oklch */ color: oklch(51.8% 0.126 150.8);
Tailwind
colors: {
  custom: {
    50: '#69a376',
    500: '#1e7c40',
    950: '#000000',
  },
}
SCSS
$custom: #1e7c40;
$custom-light: #69a376;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7c40",
  "rgb": {
    "r": 30,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 141.702,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.12625,
    "h": 150.8
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#1E7C40
secondary
#AF4689
accent
#44AAE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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