#1D310A#1D310A

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

Color values

HEX#1D310A
RGBrgb(29, 49, 10)
HSLhsl(91, 66%, 12%)
HSVhsv(91, 80%, 19%)
CMYKcmyk(40.8%, 0%, 79.6%, 80.8%)
CIE-LABlab(17.83, -16.08, 21.03)
CIE-LCHlch(17.83, 26.48, 127.40°)
OKLaboklab(28.62% -0.0451 0.0492)
OKLCHoklch(28.62% 0.067 132.5)
XYZxyz(1.6598, 2.4797, 0.6783)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D310A #1E0A31
analogous
#31310A #1D310A #0A310B
triadic
#1D310A #0A1D31 #310A1D
tetradic
#1D310A #0A3131 #1E0A31 #310B0A
square
#1D310A #0A3131 #1E0A31 #310B0A
split-complementary
#1D310A #0B0A31 #310A31
monochromatic
#0F1905 #0F1905 #1D310A #3B6414 #59971F

Accessibility & contrast

On white

14.04
#1D310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D310A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D310A#FFFFFF#000000##FFFFFF
##1D310A1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d310a;
/* rgb */ color: rgb(29, 49, 10);
/* oklch */ color: oklch(28.6% 0.067 132.5);
Tailwind
colors: {
  custom: {
    50: '#5b694c',
    500: '#1d310a',
    950: '#000000',
  },
}
SCSS
$custom: #1d310a;
$custom-light: #5b694c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d310a",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 90.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28617,
    "c": 0.06675,
    "h": 132.5
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#1D310A
secondary
#4C296E
accent
#3FE996
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D310A

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

Preview Lab → · Contrast checker → · Palette generator →

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