#1E5212#1E5212

#1E5212 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.109 H 140.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1E5212
RGBrgb(30, 82, 18)
HSLhsl(109, 64%, 20%)
HSVhsv(109, 78%, 32%)
CMYKcmyk(63.4%, 0%, 78%, 67.8%)
CIE-LABlab(30.29, -30.65, 30.76)
CIE-LCHlch(30.29, 43.43, 134.89°)
OKLaboklab(38.89% -0.084 0.0698)
OKLCHoklch(38.89% 0.109 140.3)
XYZxyz(3.6617, 6.3540, 1.6056)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E5212 #461252
analogous
#3E5212 #1E5212 #125226
triadic
#1E5212 #121E52 #52121E
tetradic
#1E5212 #123E52 #461252 #522612
square
#1E5212 #123E52 #461252 #522612
split-complementary
#1E5212 #261252 #52123E
monochromatic
#091906 #0C2007 #1E5212 #30841D #43B628

Accessibility & contrast

On white

9.25
#1E5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1E5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E5212
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E5212#FFFFFF#000000##FFFFFF
##1E52121.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#174F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1e5212;
/* rgb */ color: rgb(30, 82, 18);
/* oklch */ color: oklch(38.9% 0.109 140.3);
Tailwind
colors: {
  custom: {
    50: '#618354',
    500: '#1e5212',
    950: '#000000',
  },
}
SCSS
$custom: #1e5212;
$custom-light: #618354;
$custom-dark: #000000;
JSON
{
  "hex": "#1e5212",
  "rgb": {
    "r": 30,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 108.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.10923,
    "h": 140.3
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#1E5212
secondary
#7B358B
accent
#41E7C8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1E5212

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

Preview Lab → · Contrast checker → · Palette generator →

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