#1E7F19#1E7F19

#1E7F19 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.161 H 142.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1E7F19
RGBrgb(30, 127, 25)
HSLhsl(117, 67%, 30%)
HSVhsv(117, 80%, 50%)
CMYKcmyk(76.4%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.34, -46.90, 44.03)
CIE-LCHlch(46.34, 64.33, 136.81°)
OKLaboklab(52.21% -0.1275 0.0985)
OKLCHoklch(52.21% 0.161 142.3)
XYZxyz(8.2998, 15.5240, 3.4785)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F19 #7A197F
analogous
#517F19 #1E7F19 #197F47
triadic
#1E7F19 #191E7F #7F191E
tetradic
#1E7F19 #19517F #7A197F #7F4719
square
#1E7F19 #19517F #7A197F #7F4719
split-complementary
#1E7F19 #47197F #7F1951
monochromatic
#061A05 #124C0F #1E7F19 #2AB223 #42D83A

Accessibility & contrast

On white

5.12
#1E7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1E7F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F19
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F19#FFFFFF#000000##FFFFFF
##1E7F191.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f19;
/* rgb */ color: rgb(30, 127, 25);
/* oklch */ color: oklch(52.2% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba55e',
    500: '#1e7f19',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f19;
$custom-light: #6ba55e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f19",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 117.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.16117,
    "h": 142.3
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#1E7F19
secondary
#AE41B3
accent
#3EEAE2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1E7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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