#1E310B#1E310B

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

Color values

HEX#1E310B
RGBrgb(30, 49, 11)
HSLhsl(90, 63%, 12%)
HSVhsv(90, 78%, 19%)
CMYKcmyk(38.8%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.90, -15.53, 20.72)
CIE-LCHlch(17.90, 25.90, 126.84°)
OKLaboklab(28.7% -0.0436 0.0484)
OKLCHoklch(28.7% 0.065 132)
XYZxyz(1.6941, 2.4967, 0.7092)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E310B #1E0B31
analogous
#31310B #1E310B #0B310B
triadic
#1E310B #0B1E31 #310B1E
tetradic
#1E310B #0B3131 #1E0B31 #310B0B
square
#1E310B #0B3131 #1E0B31 #310B0B
split-complementary
#1E310B #0B0B31 #310B31
monochromatic
#0F1906 #0F1906 #1E310B #3D6316 #5B9521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E310B#FFFFFF#000000##FFFFFF
##1E310B1.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)
#332D07
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#1F2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e310b;
/* rgb */ color: rgb(30, 49, 11);
/* oklch */ color: oklch(28.7% 0.065 132.0);
Tailwind
colors: {
  custom: {
    50: '#5b694c',
    500: '#1e310b',
    950: '#000000',
  },
}
SCSS
$custom: #1e310b;
$custom-light: #5b694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e310b",
  "rgb": {
    "r": 30,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 90,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28701,
    "c": 0.06517,
    "h": 132
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#1E310B
secondary
#4C2A6E
accent
#41E694
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1E310B

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

Preview Lab → · Contrast checker → · Palette generator →

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