#1E7B17#1E7B17

#1E7B17 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.158 H 142.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1E7B17
RGBrgb(30, 123, 23)
HSLhsl(116, 68%, 29%)
HSVhsv(116, 81%, 48%)
CMYKcmyk(75.6%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.95, -45.67, 43.36)
CIE-LCHlch(44.95, 62.97, 136.49°)
OKLaboklab(51.04% -0.1243 0.0968)
OKLCHoklch(51.04% 0.158 142.1)
XYZxyz(7.7726, 14.5029, 3.2002)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B17 #74177B
analogous
#507B17 #1E7B17 #177B42
triadic
#1E7B17 #171E7B #7B171E
tetradic
#1E7B17 #17507B #74177B #7B4217
square
#1E7B17 #17507B #74177B #7B4217
split-complementary
#1E7B17 #42177B #7B1750
monochromatic
#061A05 #11470D #1E7B17 #2BAF21 #3FD933

Accessibility & contrast

On white

5.38
#1E7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1E7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B17
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B17#FFFFFF#000000##FFFFFF
##1E7B171.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1e7b17;
/* rgb */ color: rgb(30, 123, 23);
/* oklch */ color: oklch(51.0% 0.158 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba25d',
    500: '#1e7b17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b17;
$custom-light: #6ba25d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b17",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 115.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.15759,
    "h": 142.1
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#1E7B17
secondary
#A83EB0
accent
#3CEBDF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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