#1E5012#1E5012

#1E5012 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.106 H 140.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1E5012
RGBrgb(30, 80, 18)
HSLhsl(108, 63%, 19%)
HSVhsv(108, 78%, 31%)
CMYKcmyk(62.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.56, -29.80, 30.01)
CIE-LCHlch(29.56, 42.29, 134.80°)
OKLaboklab(38.28% -0.0817 0.0682)
OKLCHoklch(38.28% 0.106 140.2)
XYZxyz(3.5131, 6.0567, 1.5561)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5012 #441250
analogous
#3D5012 #1E5012 #125025
triadic
#1E5012 #121E50 #50121E
tetradic
#1E5012 #123D50 #441250 #502512
square
#1E5012 #123D50 #441250 #502512
split-complementary
#1E5012 #251250 #50123D
monochromatic
#091906 #0B1E07 #1E5012 #31821D #43B428

Accessibility & contrast

On white

9.50
#1E5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1E5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5012
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5012#FFFFFF#000000##FFFFFF
##1E50121.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#184D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1e5012;
/* rgb */ color: rgb(30, 80, 18);
/* oklch */ color: oklch(38.3% 0.106 140.2);
Tailwind
colors: {
  custom: {
    50: '#618254',
    500: '#1e5012',
    950: '#000000',
  },
}
SCSS
$custom: #1e5012;
$custom-light: #618254;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5012",
  "rgb": {
    "r": 30,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 108.387,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38283,
    "c": 0.10646,
    "h": 140.2
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#1E5012
secondary
#793589
accent
#41E6C6
background
#F5F7F5
surface
#EAEEE8
border
#C6C9C4
text
#050A03
muted
#797C78

Preview Lab

Preview with #1E5012

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

Preview Lab → · Contrast checker → · Palette generator →

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