#1E7F12#1E7F12

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

Color values

HEX#1E7F12
RGBrgb(30, 127, 18)
HSLhsl(113, 75%, 28%)
HSVhsv(113, 86%, 50%)
CMYKcmyk(76.4%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.31, -47.34, 46.16)
CIE-LCHlch(46.31, 66.12, 135.72°)
OKLaboklab(52.17% -0.129 0.102)
OKLCHoklch(52.17% 0.164 141.7)
XYZxyz(8.2335, 15.4975, 3.1295)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F12 #73127F
analogous
#547F12 #1E7F12 #127F3C
triadic
#1E7F12 #121E7F #7F121E
tetradic
#1E7F12 #12547F #73127F #7F3C12
square
#1E7F12 #12547F #73127F #7F3C12
split-complementary
#1E7F12 #3C127F #7F1254
monochromatic
#061B04 #11490A #1E7F12 #2BB51A #3FE12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1e7f12;
/* rgb */ color: rgb(30, 127, 18);
/* oklch */ color: oklch(52.2% 0.164 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca55b',
    500: '#1e7f12',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f12;
$custom-light: #6ca55b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f12",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 113.394,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.16447,
    "h": 141.7
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#1E7F12
secondary
#A738B5
accent
#36F2DD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1E7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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