#1D310C#1D310C

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

Color values

HEX#1D310C
RGBrgb(29, 49, 12)
HSLhsl(92, 61%, 12%)
HSVhsv(92, 76%, 19%)
CMYKcmyk(40.8%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.85, -15.87, 20.20)
CIE-LCHlch(17.85, 25.69, 128.16°)
OKLaboklab(28.64% -0.0443 0.0473)
OKLCHoklch(28.64% 0.065 133.2)
XYZxyz(1.6713, 2.4843, 0.7392)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D310C #200C31
analogous
#30310C #1D310C #0C310D
triadic
#1D310C #0C1D31 #310C1D
tetradic
#1D310C #0C3031 #200C31 #310D0C
square
#1D310C #0C3031 #200C31 #310D0C
split-complementary
#1D310C #0D0C31 #310C30
monochromatic
#0F1906 #0F1906 #1D310C #3A6218 #579324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D310C#FFFFFF#000000##FFFFFF
##1D310C1.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)
#332D08
Deuteranopia (green-blind)
#302B0F
Tritanopia (blue-blind)
#1D2F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d310c;
/* rgb */ color: rgb(29, 49, 12);
/* oklch */ color: oklch(28.6% 0.065 133.2);
Tailwind
colors: {
  custom: {
    50: '#5b694d',
    500: '#1d310c',
    950: '#000000',
  },
}
SCSS
$custom: #1d310c;
$custom-light: #5b694d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d310c",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 92.432,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.06484,
    "h": 133.2
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#1D310C
secondary
#4F2C6D
accent
#44E49A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1D310C

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

Preview Lab → · Contrast checker → · Palette generator →

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