#1E7312#1E7312

#1E7312 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.151 H 141.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1E7312
RGBrgb(30, 115, 18)
HSLhsl(113, 73%, 26%)
HSVhsv(113, 84%, 45%)
CMYKcmyk(73.9%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.12, -43.22, 42.30)
CIE-LCHlch(42.12, 60.48, 135.62°)
OKLaboklab(48.69% -0.1179 0.0939)
OKLCHoklch(48.69% 0.151 141.5)
XYZxyz(6.7750, 12.5804, 2.6434)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7312 #671273
analogous
#4E7312 #1E7312 #127336
triadic
#1E7312 #121E73 #73121E
tetradic
#1E7312 #124E73 #671273 #733612
square
#1E7312 #124E73 #671273 #733612
split-complementary
#1E7312 #361273 #73124E
monochromatic
#071A04 #103E0A #1E7312 #2CA81A #3ADD23

Accessibility & contrast

On white

5.97
#1E7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1E7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7312
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7312#FFFFFF#000000##FFFFFF
##1E73121.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#076F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1e7312;
/* rgb */ color: rgb(30, 115, 18);
/* oklch */ color: oklch(48.7% 0.151 141.5);
Tailwind
colors: {
  custom: {
    50: '#699c59',
    500: '#1e7312',
    950: '#000000',
  },
}
SCSS
$custom: #1e7312;
$custom-light: #699c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7312",
  "rgb": {
    "r": 30,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 112.577,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.15075,
    "h": 141.5
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#1E7312
secondary
#9C37AA
accent
#38F0D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7312

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

Preview Lab → · Contrast checker → · Palette generator →

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