#1D310B#1D310B

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

Color values

HEX#1D310B
RGBrgb(29, 49, 11)
HSLhsl(92, 63%, 12%)
HSVhsv(92, 78%, 19%)
CMYKcmyk(40.8%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.84, -15.98, 20.63)
CIE-LCHlch(17.84, 26.09, 127.77°)
OKLaboklab(28.63% -0.0447 0.0483)
OKLCHoklch(28.63% 0.066 132.8)
XYZxyz(1.6654, 2.4819, 0.7079)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D310B #1F0B31
analogous
#30310B #1D310B #0B310C
triadic
#1D310B #0B1D31 #310B1D
tetradic
#1D310B #0B3031 #1F0B31 #310C0B
square
#1D310B #0B3031 #1F0B31 #310C0B
split-complementary
#1D310B #0C0B31 #310B30
monochromatic
#0F1906 #0F1906 #1D310B #3B6316 #589521

Accessibility & contrast

On white

14.03
#1D310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D310B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D310B#FFFFFF#000000##FFFFFF
##1D310B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D07
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#1D2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d310b;
/* rgb */ color: rgb(29, 49, 11);
/* oklch */ color: oklch(28.6% 0.066 132.8);
Tailwind
colors: {
  custom: {
    50: '#5b694c',
    500: '#1d310b',
    950: '#000000',
  },
}
SCSS
$custom: #1d310b;
$custom-light: #5b694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d310b",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 91.579,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.06581,
    "h": 132.8
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#1D310B
secondary
#4E2A6E
accent
#41E698
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D310B

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

Preview Lab → · Contrast checker → · Palette generator →

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