#1E7E17#1E7E17

#1E7E17 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.161 H 142.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1E7E17
RGBrgb(30, 126, 23)
HSLhsl(116, 69%, 29%)
HSVhsv(116, 82%, 49%)
CMYKcmyk(76.2%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.99, -46.70, 44.35)
CIE-LCHlch(45.99, 64.40, 136.47°)
OKLaboklab(51.91% -0.1271 0.0989)
OKLCHoklch(51.91% 0.161 142.1)
XYZxyz(8.1505, 15.2587, 3.3261)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E17 #77177E
analogous
#527E17 #1E7E17 #177E44
triadic
#1E7E17 #171E7E #7E171E
tetradic
#1E7E17 #17527E #77177E #7E4417
square
#1E7E17 #17527E #77177E #7E4417
split-complementary
#1E7E17 #44177E #7E1752
monochromatic
#061A05 #124A0E #1E7E17 #2AB220 #40DA35

Accessibility & contrast

On white

5.18
#1E7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1E7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E17#FFFFFF#000000##FFFFFF
##1E7E171.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7e17;
/* rgb */ color: rgb(30, 126, 23);
/* oklch */ color: oklch(51.9% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ba45d',
    500: '#1e7e17',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e17;
$custom-light: #6ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e17",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 115.922,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.16105,
    "h": 142.1
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#1E7E17
secondary
#AB3EB3
accent
#3CECE0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1E7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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