#1E7318#1E7318

#1E7318 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.148 H 142.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1E7318
RGBrgb(30, 115, 24)
HSLhsl(116, 65%, 27%)
HSVhsv(116, 79%, 45%)
CMYKcmyk(73.9%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.16, -42.80, 40.30)
CIE-LCHlch(42.16, 58.79, 136.73°)
OKLaboklab(48.73% -0.1165 0.0906)
OKLCHoklch(48.73% 0.148 142.1)
XYZxyz(6.8306, 12.6027, 2.9366)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7318 #6D1873
analogous
#4C7318 #1E7318 #187340
triadic
#1E7318 #181E73 #73181E
tetradic
#1E7318 #184C73 #6D1873 #734018
square
#1E7318 #184C73 #6D1873 #734018
split-complementary
#1E7318 #401873 #73184C
monochromatic
#071905 #11400D #1E7318 #2BA623 #3CD431

Accessibility & contrast

On white

5.96
#1E7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1E7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7318
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7318#FFFFFF#000000##FFFFFF
##1E73181.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#056F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7318;
/* rgb */ color: rgb(30, 115, 24);
/* oklch */ color: oklch(48.7% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#699c5c',
    500: '#1e7318',
    950: '#000000',
  },
}
SCSS
$custom: #1e7318;
$custom-light: #699c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7318",
  "rgb": {
    "r": 30,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 116.044,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.14759,
    "h": 142.1
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#1E7318
secondary
#A13FA8
accent
#3FE8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7318

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

Preview Lab → · Contrast checker → · Palette generator →

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