#313D0D#313D0D

#313D0D is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.071 H 122.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#313D0D
RGBrgb(49, 61, 13)
HSLhsl(75, 65%, 15%)
HSVhsv(75, 79%, 24%)
CMYKcmyk(19.7%, 0%, 78.7%, 76.1%)
CIE-LABlab(23.74, -13.12, 26.65)
CIE-LCHlch(23.74, 29.71, 116.21°)
OKLaboklab(33.81% -0.0382 0.06)
OKLCHoklch(33.81% 0.071 122.5)
XYZxyz(3.0080, 4.0195, 0.9981)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D0D #190D3D
analogous
#3D310D #313D0D #193D0D
triadic
#313D0D #0D313D #3D0D31
tetradic
#313D0D #0D3D31 #190D3D #3D0D19
square
#313D0D #0D3D31 #190D3D #3D0D19
split-complementary
#313D0D #0D193D #310D3D
monochromatic
#141905 #141905 #313D0D #5A6F18 #82A223

Accessibility & contrast

On white

11.64
#313D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D0D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D0D#FFFFFF#000000##FFFFFF
##313D0D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413906
Deuteranopia (green-blind)
#403811
Tritanopia (blue-blind)
#343A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313d0d;
/* rgb */ color: rgb(49, 61, 13);
/* oklch */ color: oklch(33.8% 0.071 122.5);
Tailwind
colors: {
  custom: {
    50: '#6b724f',
    500: '#313d0d',
    950: '#000000',
  },
}
SCSS
$custom: #313d0d;
$custom-light: #6b724f;
$custom-dark: #000000;
JSON
{
  "hex": "#313d0d",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33807,
    "c": 0.07113,
    "h": 122.5
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#313D0D
secondary
#402D79
accent
#40E86A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313D0D

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

Preview Lab → · Contrast checker → · Palette generator →

#313D0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva