#1E7F18#1E7F18

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

Color values

HEX#1E7F18
RGBrgb(30, 127, 24)
HSLhsl(117, 68%, 30%)
HSVhsv(117, 81%, 50%)
CMYKcmyk(76.4%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.34, -46.97, 44.36)
CIE-LCHlch(46.34, 64.60, 136.64°)
OKLaboklab(52.2% -0.1278 0.0991)
OKLCHoklch(52.2% 0.162 142.2)
XYZxyz(8.2892, 15.5198, 3.4227)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F18 #79187F
analogous
#527F18 #1E7F18 #187F46
triadic
#1E7F18 #181E7F #7F181E
tetradic
#1E7F18 #18527F #79187F #7F4618
square
#1E7F18 #18527F #79187F #7F4618
split-complementary
#1E7F18 #46187F #7F1852
monochromatic
#061A05 #124C0E #1E7F18 #2AB222 #41D938

Accessibility & contrast

On white

5.12
#1E7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1E7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F18#FFFFFF#000000##FFFFFF
##1E7F181.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f18;
/* rgb */ color: rgb(30, 127, 24);
/* oklch */ color: oklch(52.2% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca55e',
    500: '#1e7f18',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f18;
$custom-light: #6ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f18",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 116.505,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.16169,
    "h": 142.2
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#1E7F18
secondary
#AD3FB3
accent
#3DEBE1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1E7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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