#1E310A#1E310A

#1E310A is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.066 H 131.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1E310A
RGBrgb(30, 49, 10)
HSLhsl(89, 66%, 12%)
HSVhsv(89, 80%, 19%)
CMYKcmyk(38.8%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.89, -15.63, 21.13)
CIE-LCHlch(17.89, 26.28, 126.49°)
OKLaboklab(28.69% -0.044 0.0494)
OKLCHoklch(28.69% 0.066 131.7)
XYZxyz(1.6885, 2.4945, 0.6796)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E310A #1D0A31
analogous
#31310A #1E310A #0B310A
triadic
#1E310A #0A1E31 #310A1E
tetradic
#1E310A #0A3131 #1D0A31 #310A0B
square
#1E310A #0A3131 #1D0A31 #310A0B
split-complementary
#1E310A #0A0B31 #310A31
monochromatic
#101905 #101905 #1E310A #3D6414 #5C971F

Accessibility & contrast

On white

14.01
#1E310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E310A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E310A#FFFFFF#000000##FFFFFF
##1E310A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D05
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#1F2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e310a;
/* rgb */ color: rgb(30, 49, 10);
/* oklch */ color: oklch(28.7% 0.066 131.7);
Tailwind
colors: {
  custom: {
    50: '#5b694c',
    500: '#1e310a',
    950: '#000000',
  },
}
SCSS
$custom: #1e310a;
$custom-light: #5b694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e310a",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 89.231,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.06609,
    "h": 131.7
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#1E310A
secondary
#4B296E
accent
#3FE992
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E310A

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

Preview Lab → · Contrast checker → · Palette generator →

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