#1E871A#1E871A

#1E871A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.5% C 0.170 H 142.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1E871A
RGBrgb(30, 135, 26)
HSLhsl(118, 68%, 32%)
HSVhsv(118, 81%, 53%)
CMYKcmyk(77.8%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.10, -49.51, 46.35)
CIE-LCHlch(49.10, 67.82, 136.89°)
OKLaboklab(54.5% -0.1346 0.1035)
OKLCHoklch(54.5% 0.17 142.4)
XYZxyz(9.3853, 17.6775, 3.8945)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E871A #831A87
analogous
#55871A #1E871A #1A874D
triadic
#1E871A #1A1E87 #871A1E
tetradic
#1E871A #1A5587 #831A87 #874D1A
square
#1E871A #1A5587 #831A87 #874D1A
split-complementary
#1E871A #4D1A87 #871A55
monochromatic
#072006 #135410 #1E871A #29BA24 #47DA41

Accessibility & contrast

On white

4.63
#1E871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1E871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1E871A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E871A#FFFFFF#000000##FFFFFF
##1E871A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1e871a;
/* rgb */ color: rgb(30, 135, 26);
/* oklch */ color: oklch(54.5% 0.170 142.4);
Tailwind
colors: {
  custom: {
    50: '#6dab60',
    500: '#1e871a',
    950: '#000000',
  },
}
SCSS
$custom: #1e871a;
$custom-light: #6dab60;
$custom-dark: #000000;
JSON
{
  "hex": "#1e871a",
  "rgb": {
    "r": 30,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 117.798,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.16978,
    "h": 142.4
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#1E871A
secondary
#B642BA
accent
#3DEBE4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1E871A

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

Preview Lab → · Contrast checker → · Palette generator →

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