#1E7212#1E7212

#1E7212 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.150 H 141.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1E7212
RGBrgb(30, 114, 18)
HSLhsl(113, 73%, 26%)
HSVhsv(113, 84%, 45%)
CMYKcmyk(73.7%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.77, -42.87, 41.97)
CIE-LCHlch(41.77, 60.00, 135.61°)
OKLaboklab(48.4% -0.117 0.0932)
OKLCHoklch(48.4% 0.15 141.5)
XYZxyz(6.6615, 12.3536, 2.6056)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7212 #661272
analogous
#4E7212 #1E7212 #127236
triadic
#1E7212 #121E72 #72121E
tetradic
#1E7212 #124E72 #661272 #723612
square
#1E7212 #124E72 #661272 #723612
split-complementary
#1E7212 #361272 #72124E
monochromatic
#071A04 #103D0A #1E7212 #2CA71A #3ADC23

Accessibility & contrast

On white

6.05
#1E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1E7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7212
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7212#FFFFFF#000000##FFFFFF
##1E72121.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#086E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7212;
/* rgb */ color: rgb(30, 114, 18);
/* oklch */ color: oklch(48.4% 0.150 141.5);
Tailwind
colors: {
  custom: {
    50: '#699b59',
    500: '#1e7212',
    950: '#000000',
  },
}
SCSS
$custom: #1e7212;
$custom-light: #699b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7212",
  "rgb": {
    "r": 30,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 112.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.14958,
    "h": 141.5
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#1E7212
secondary
#9B37A9
accent
#38EFD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7212

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

Preview Lab → · Contrast checker → · Palette generator →

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