#1E8A1F#1E8A1F

#1E8A1F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.171 H 142.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1E8A1F
RGBrgb(30, 138, 31)
HSLhsl(121, 64%, 33%)
HSVhsv(121, 78%, 54%)
CMYKcmyk(78.3%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.16, -50.14, 45.66)
CIE-LCHlch(50.16, 67.82, 137.68°)
OKLaboklab(55.39% -0.1361 0.1028)
OKLCHoklch(55.39% 0.171 142.9)
XYZxyz(9.8706, 18.5508, 4.3565)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E8A1F #8A1E89
analogous
#538A1E #1E8A1F #1E8A55
triadic
#1E8A1F #1F1E8A #8A1F1E
tetradic
#1E8A1F #1E538A #8A1E89 #8A551E
square
#1E8A1F #1E538A #8A1E89 #8A551E
split-complementary
#1E8A1F #551E8A #8A1E53
monochromatic
#082508 #135814 #1E8A1F #29BC2A #4BD84C

Accessibility & contrast

On white

4.46
#1E8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1E8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1E8A1F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E8A1F#FFFFFF#000000##000000
##1E8A1F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1e8a1f;
/* rgb */ color: rgb(30, 138, 31);
/* oklch */ color: oklch(55.4% 0.171 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ead63',
    500: '#1e8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1e8a1f;
$custom-light: #6ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#1e8a1f",
  "rgb": {
    "r": 30,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 120.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.17052,
    "h": 142.9
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#1E8A1F
secondary
#BA4AB9
accent
#41E6E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1E8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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