#1E7311#1E7311

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

Color values

HEX#1E7311
RGBrgb(30, 115, 17)
HSLhsl(112, 74%, 26%)
HSVhsv(112, 85%, 45%)
CMYKcmyk(73.9%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.12, -43.28, 42.60)
CIE-LCHlch(42.12, 60.73, 135.45°)
OKLaboklab(48.69% -0.1182 0.0944)
OKLCHoklch(48.69% 0.151 141.4)
XYZxyz(6.7670, 12.5772, 2.6012)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7311 #661173
analogous
#4F7311 #1E7311 #117335
triadic
#1E7311 #111E73 #73111E
tetradic
#1E7311 #114F73 #661173 #733511
square
#1E7311 #114F73 #661173 #733511
split-complementary
#1E7311 #351173 #73114F
monochromatic
#071B04 #103E09 #1E7311 #2CA819 #3ADE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E7311#FFFFFF#000000##FFFFFF
##1E73111.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: #1e7311;
/* rgb */ color: rgb(30, 115, 17);
/* oklch */ color: oklch(48.7% 0.151 141.4);
Tailwind
colors: {
  custom: {
    50: '#699c59',
    500: '#1e7311',
    950: '#000000',
  },
}
SCSS
$custom: #1e7311;
$custom-light: #699c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7311",
  "rgb": {
    "r": 30,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 112.041,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.15121,
    "h": 141.4
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#1E7311
secondary
#9B36AA
accent
#37F1D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1E7311

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

Preview Lab → · Contrast checker → · Palette generator →

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