#1E8F2A#1E8F2A

#1E8F2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.169 H 144.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1E8F2A
RGBrgb(30, 143, 42)
HSLhsl(126, 65%, 34%)
HSVhsv(126, 79%, 56%)
CMYKcmyk(79%, 0%, 70.6%, 43.9%)
CIE-LABlab(51.94, -50.83, 43.20)
CIE-LCHlch(51.94, 66.71, 139.64°)
OKLaboklab(56.89% -0.1374 0.0991)
OKLCHoklch(56.89% 0.169 144.2)
XYZxyz(10.7751, 20.0868, 5.4993)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E8F2A #8F1E83
analogous
#4B8F1E #1E8F2A #1E8F63
triadic
#1E8F2A #2A1E8F #8F2A1E
tetradic
#1E8F2A #1E4B8F #8F1E83 #8F631E
square
#1E8F2A #1E4B8F #8F1E83 #8F631E
split-complementary
#1E8F2A #631E8F #8F1E4B
monochromatic
#092A0C #135C1B #1E8F2A #29C239 #4EDA5D

Accessibility & contrast

On white

4.19
#1E8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#1E8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1E8F2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E8F2A#FFFFFF#000000##000000
##1E8F2A1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1e8f2a;
/* rgb */ color: rgb(30, 143, 42);
/* oklch */ color: oklch(56.9% 0.169 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fb169',
    500: '#1e8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1e8f2a;
$custom-light: #6fb169;
$custom-dark: #000000;
JSON
{
  "hex": "#1e8f2a",
  "rgb": {
    "r": 30,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 126.372,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.16942,
    "h": 144.2
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#1E8F2A
secondary
#BC4CB1
accent
#40D6E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1E8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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