#1E7F16#1E7F16

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

Color values

HEX#1E7F16
RGBrgb(30, 127, 22)
HSLhsl(115, 70%, 29%)
HSVhsv(115, 83%, 50%)
CMYKcmyk(76.4%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.33, -47.10, 45.00)
CIE-LCHlch(46.33, 65.14, 136.31°)
OKLaboklab(52.19% -0.1282 0.1001)
OKLCHoklch(52.19% 0.163 142)
XYZxyz(8.2691, 15.5118, 3.3172)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F16 #77167F
analogous
#537F16 #1E7F16 #167F43
triadic
#1E7F16 #161E7F #7F161E
tetradic
#1E7F16 #16537F #77167F #7F4316
square
#1E7F16 #16537F #77167F #7F4316
split-complementary
#1E7F16 #43167F #7F1653
monochromatic
#061A05 #124B0D #1E7F16 #2AB31F #40DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7F16#FFFFFF#000000##FFFFFF
##1E7F161.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)
#776B23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f16;
/* rgb */ color: rgb(30, 127, 22);
/* oklch */ color: oklch(52.2% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ca55d',
    500: '#1e7f16',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f16;
$custom-light: #6ca55d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f16",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 115.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.16268,
    "h": 142
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#1E7F16
secondary
#AB3DB4
accent
#3BEDE0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1E7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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