#1E7A16#1E7A16

#1E7A16 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.7% C 0.157 H 142.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1E7A16
RGBrgb(30, 122, 22)
HSLhsl(115, 69%, 28%)
HSVhsv(115, 82%, 48%)
CMYKcmyk(75.4%, 0%, 82%, 52.2%)
CIE-LABlab(44.59, -45.40, 43.35)
CIE-LCHlch(44.59, 62.77, 136.32°)
OKLaboklab(50.75% -0.1236 0.0967)
OKLCHoklch(50.75% 0.157 142)
XYZxyz(7.6393, 14.2522, 3.1072)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7A16 #72167A
analogous
#507A16 #1E7A16 #167A40
triadic
#1E7A16 #161E7A #7A161E
tetradic
#1E7A16 #16507A #72167A #7A4016
square
#1E7A16 #16507A #72167A #7A4016
split-complementary
#1E7A16 #40167A #7A1650
monochromatic
#061A05 #11460D #1E7A16 #2BAE1F #3EDA31

Accessibility & contrast

On white

5.45
#1E7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1E7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7A16
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7A16#FFFFFF#000000##FFFFFF
##1E7A161.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1e7a16;
/* rgb */ color: rgb(30, 122, 22);
/* oklch */ color: oklch(50.7% 0.157 142.0);
Tailwind
colors: {
  custom: {
    50: '#6aa15c',
    500: '#1e7a16',
    950: '#000000',
  },
}
SCSS
$custom: #1e7a16;
$custom-light: #6aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7a16",
  "rgb": {
    "r": 30,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 115.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.15694,
    "h": 142
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#1E7A16
secondary
#A63DAF
accent
#3CECDE
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1E7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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