#1E7B40#1E7B40

#1E7B40 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.125 H 151.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1E7B40
RGBrgb(30, 123, 64)
HSLhsl(142, 61%, 30%)
HSVhsv(142, 76%, 48%)
CMYKcmyk(75.6%, 0%, 48%, 51.8%)
CIE-LABlab(45.37, -40.57, 24.72)
CIE-LCHlch(45.37, 47.51, 148.64°)
OKLaboklab(51.54% -0.1092 0.0606)
OKLCHoklch(51.54% 0.125 151)
XYZxyz(8.5431, 14.8111, 7.2581)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B40 #7B1E59
analogous
#2B7B1E #1E7B40 #1E7B6E
triadic
#1E7B40 #401E7B #7B401E
tetradic
#1E7B40 #1E2B7B #7B1E59 #7B6E1E
square
#1E7B40 #1E2B7B #7B1E59 #7B6E1E
split-complementary
#1E7B40 #6E1E7B #7B1E2B
monochromatic
#06190D #124A26 #1E7B40 #2AAC5A #42D177

Accessibility & contrast

On white

5.30
#1E7B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1E7B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B40
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B40#FFFFFF#000000##FFFFFF
##1E7B401.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703B
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1e7b40;
/* rgb */ color: rgb(30, 123, 64);
/* oklch */ color: oklch(51.5% 0.125 151.0);
Tailwind
colors: {
  custom: {
    50: '#69a276',
    500: '#1e7b40',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b40;
$custom-light: #69a276;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b40",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 141.935,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.12485,
    "h": 151
  },
  "luminance": 0.14812
}

Semantic roles & 50–950 ramp

primary
#1E7B40
secondary
#AE4688
accent
#44A9E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1E7B40

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

Preview Lab → · Contrast checker → · Palette generator →

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