#1E7918#1E7918

#1E7918 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.155 H 142.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1E7918
RGBrgb(30, 121, 24)
HSLhsl(116, 67%, 28%)
HSVhsv(116, 80%, 47%)
CMYKcmyk(75.2%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.26, -44.91, 42.35)
CIE-LCHlch(44.26, 61.73, 136.68°)
OKLaboklab(50.47% -0.1222 0.0949)
OKLCHoklch(50.47% 0.155 142.2)
XYZxyz(7.5372, 14.0159, 3.1721)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7918 #731879
analogous
#4E7918 #1E7918 #187942
triadic
#1E7918 #181E79 #79181E
tetradic
#1E7918 #184E79 #731879 #794218
square
#1E7918 #184E79 #731879 #794218
split-complementary
#1E7918 #421879 #79184E
monochromatic
#061A05 #11460E #1E7918 #2BAC22 #3FD735

Accessibility & contrast

On white

5.52
#1E7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1E7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7918
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7918#FFFFFF#000000##FFFFFF
##1E79181.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1e7918;
/* rgb */ color: rgb(30, 121, 24);
/* oklch */ color: oklch(50.5% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#6aa15d',
    500: '#1e7918',
    950: '#000000',
  },
}
SCSS
$custom: #1e7918;
$custom-light: #6aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7918",
  "rgb": {
    "r": 30,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 116.289,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.15472,
    "h": 142.2
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#1E7918
secondary
#A73FAE
accent
#3EEADF
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1E7918

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

Preview Lab → · Contrast checker → · Palette generator →

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