#1E7B15#1E7B15

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

Color values

HEX#1E7B15
RGBrgb(30, 123, 21)
HSLhsl(115, 71%, 28%)
HSVhsv(115, 83%, 48%)
CMYKcmyk(75.6%, 0%, 82.9%, 51.8%)
CIE-LABlab(44.93, -45.80, 44.00)
CIE-LCHlch(44.93, 63.51, 136.15°)
OKLaboklab(51.03% -0.1248 0.0979)
OKLCHoklch(51.03% 0.159 141.9)
XYZxyz(7.7533, 14.4952, 3.0986)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B15 #72157B
analogous
#517B15 #1E7B15 #157B3F
triadic
#1E7B15 #151E7B #7B151E
tetradic
#1E7B15 #15517B #72157B #7B3F15
square
#1E7B15 #15517B #72157B #7B3F15
split-complementary
#1E7B15 #3F157B #7B1551
monochromatic
#061A04 #11470C #1E7B15 #2BAF1E #3EDB2F

Accessibility & contrast

On white

5.39
#1E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E7B15
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B15#FFFFFF#000000##FFFFFF
##1E7B151.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7b15;
/* rgb */ color: rgb(30, 123, 21);
/* oklch */ color: oklch(51.0% 0.159 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ba25c',
    500: '#1e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b15;
$custom-light: #6ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b15",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 114.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.15858,
    "h": 141.9
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#1E7B15
secondary
#A63BB0
accent
#3AEEDE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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