#1E871F#1E871F

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

Color values

HEX#1E871F
RGBrgb(30, 135, 31)
HSLhsl(121, 64%, 32%)
HSVhsv(121, 78%, 53%)
CMYKcmyk(77.8%, 0%, 77%, 47.1%)
CIE-LABlab(49.13, -49.14, 44.64)
CIE-LCHlch(49.13, 66.39, 137.75°)
OKLaboklab(54.54% -0.1333 0.1007)
OKLCHoklch(54.54% 0.167 143)
XYZxyz(9.4461, 17.7018, 4.2150)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E871F #871E86
analogous
#52871E #1E871F #1E8753
triadic
#1E871F #1F1E87 #871F1E
tetradic
#1E871F #1E5287 #871E86 #87531E
square
#1E871F #1E5287 #871E86 #87531E
split-complementary
#1E871F #531E87 #871E52
monochromatic
#082308 #135514 #1E871F #29B92A #49D74A

Accessibility & contrast

On white

4.62
#1E871F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E871F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E871F#FFFFFF#000000##FFFFFF
##1E871F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e871f;
/* rgb */ color: rgb(30, 135, 31);
/* oklch */ color: oklch(54.5% 0.167 143.0);
Tailwind
colors: {
  custom: {
    50: '#6dab62',
    500: '#1e871f',
    950: '#000000',
  },
}
SCSS
$custom: #1e871f;
$custom-light: #6dab62;
$custom-dark: #000000;
JSON
{
  "hex": "#1e871f",
  "rgb": {
    "r": 30,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 120.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.16706,
    "h": 143
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#1E871F
secondary
#B948B8
accent
#41E5E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1E871F

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

Preview Lab → · Contrast checker → · Palette generator →

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