#1E3012#1E3012

#1E3012 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.056 H 134.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1E3012
RGBrgb(30, 48, 18)
HSLhsl(96, 45%, 13%)
HSVhsv(96, 63%, 19%)
CMYKcmyk(37.5%, 0%, 62.5%, 81.2%)
CIE-LABlab(17.62, -14.09, 16.75)
CIE-LCHlch(17.62, 21.89, 130.08°)
OKLaboklab(28.49% -0.039 0.04)
OKLCHoklch(28.49% 0.056 134.3)
XYZxyz(1.7015, 2.4335, 0.9522)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3012 #241230
analogous
#2D3012 #1E3012 #123015
triadic
#1E3012 #121E30 #30121E
tetradic
#1E3012 #122D30 #241230 #301512
square
#1E3012 #122D30 #241230 #301512
split-complementary
#1E3012 #151230 #30122D
monochromatic
#0E1608 #0E1608 #1E3012 #3A5D23 #568933

Accessibility & contrast

On white

14.12
#1E3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3012
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3012#FFFFFF#000000##FFFFFF
##1E30121.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0F
Deuteranopia (green-blind)
#2F2B14
Tritanopia (blue-blind)
#1E2E29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e3012;
/* rgb */ color: rgb(30, 48, 18);
/* oklch */ color: oklch(28.5% 0.056 134.3);
Tailwind
colors: {
  custom: {
    50: '#5b6850',
    500: '#1e3012',
    950: '#000000',
  },
}
SCSS
$custom: #1e3012;
$custom-light: #5b6850;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3012",
  "rgb": {
    "r": 30,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 96,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28495,
    "c": 0.05582,
    "h": 134.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#1E3012
secondary
#543668
accent
#53D5A1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #1E3012

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

Preview Lab → · Contrast checker → · Palette generator →

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