#1E8F40#1E8F40

#1E8F40 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.152 H 148.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1E8F40
RGBrgb(30, 143, 64)
HSLhsl(138, 65%, 34%)
HSVhsv(138, 79%, 56%)
CMYKcmyk(79%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.16, -48.08, 33.16)
CIE-LCHlch(52.16, 58.41, 145.40°)
OKLaboklab(57.16% -0.1292 0.0796)
OKLCHoklch(57.16% 0.152 148.4)
XYZxyz(11.2824, 20.2898, 8.1712)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E8F40 #8F1E6D
analogous
#358F1E #1E8F40 #1E8F79
triadic
#1E8F40 #401E8F #8F401E
tetradic
#1E8F40 #1E358F #8F1E6D #8F791E
square
#1E8F40 #1E358F #8F1E6D #8F791E
split-complementary
#1E8F40 #791E8F #8F1E35
monochromatic
#092A13 #135C29 #1E8F40 #29C257 #4EDA78

Accessibility & contrast

On white

4.15
#1E8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1E8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1E8F40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E8F40#FFFFFF#000000##000000
##1E8F401.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1e8f40;
/* rgb */ color: rgb(30, 143, 64);
/* oklch */ color: oklch(57.2% 0.152 148.4);
Tailwind
colors: {
  custom: {
    50: '#6eb177',
    500: '#1e8f40',
    950: '#000000',
  },
}
SCSS
$custom: #1e8f40;
$custom-light: #6eb177;
$custom-dark: #000000;
JSON
{
  "hex": "#1e8f40",
  "rgb": {
    "r": 30,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 138.053,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57156,
    "c": 0.15175,
    "h": 148.4
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#1E8F40
secondary
#BC4C9B
accent
#40B6E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1E8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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