#1E7240#1E7240

#1E7240 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.112 H 152.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1E7240
RGBrgb(30, 114, 64)
HSLhsl(144, 58%, 28%)
HSVhsv(144, 74%, 45%)
CMYKcmyk(73.7%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.28, -36.95, 20.73)
CIE-LCHlch(42.28, 42.37, 150.71°)
OKLaboklab(48.98% -0.0996 0.0514)
OKLCHoklch(48.98% 0.112 152.7)
XYZxyz(7.4775, 12.6800, 6.9029)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7240 #721E50
analogous
#26721E #1E7240 #1E726A
triadic
#1E7240 #401E72 #72401E
tetradic
#1E7240 #1E2672 #721E50 #726A1E
square
#1E7240 #1E2672 #721E50 #726A1E
split-complementary
#1E7240 #6A1E72 #721E26
monochromatic
#06180E #114225 #1E7240 #2BA25B #3ECC78

Accessibility & contrast

On white

5.94
#1E7240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1E7240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7240
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7240#FFFFFF#000000##FFFFFF
##1E72401.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1e7240;
/* rgb */ color: rgb(30, 114, 64);
/* oklch */ color: oklch(49.0% 0.112 152.7);
Tailwind
colors: {
  custom: {
    50: '#669b75',
    500: '#1e7240',
    950: '#000000',
  },
}
SCSS
$custom: #1e7240;
$custom-light: #669b75;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7240",
  "rgb": {
    "r": 30,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 144.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.11206,
    "h": 152.7
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#1E7240
secondary
#A6467F
accent
#46A3E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1E7240

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

Preview Lab → · Contrast checker → · Palette generator →

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