#1E7E12#1E7E12

#1E7E12 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.163 H 141.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1E7E12
RGBrgb(30, 126, 18)
HSLhsl(113, 75%, 28%)
HSVhsv(113, 86%, 49%)
CMYKcmyk(76.2%, 0%, 85.7%, 50.6%)
CIE-LABlab(45.96, -47.00, 45.85)
CIE-LCHlch(45.96, 65.66, 135.71°)
OKLaboklab(51.88% -0.1281 0.1013)
OKLCHoklch(51.88% 0.163 141.7)
XYZxyz(8.1050, 15.2405, 3.0867)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E12 #72127E
analogous
#547E12 #1E7E12 #127E3C
triadic
#1E7E12 #121E7E #7E121E
tetradic
#1E7E12 #12547E #72127E #7E3C12
square
#1E7E12 #12547E #72127E #7E3C12
split-complementary
#1E7E12 #3C127E #7E1254
monochromatic
#061B04 #11480A #1E7E12 #2BB41A #3EE12A

Accessibility & contrast

On white

5.19
#1E7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E7E12
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E12#FFFFFF#000000##FFFFFF
##1E7E121.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e7e12;
/* rgb */ color: rgb(30, 126, 18);
/* oklch */ color: oklch(51.9% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca45b',
    500: '#1e7e12',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e12;
$custom-light: #6ca45b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e12",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 113.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.16335,
    "h": 141.7
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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