#313606#313606

#313606 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.8% C 0.067 H 115.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#313606
RGBrgb(49, 54, 6)
HSLhsl(66, 80%, 12%)
HSVhsv(66, 89%, 21%)
CMYKcmyk(9.3%, 0%, 88.9%, 78.8%)
CIE-LABlab(21.22, -9.43, 26.98)
CIE-LCHlch(21.22, 28.58, 109.27°)
OKLaboklab(31.77% -0.0288 0.0602)
OKLCHoklch(31.77% 0.067 115.6)
XYZxyz(2.6187, 3.3045, 0.6721)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313606 #0B0636
analogous
#362306 #313606 #193606
triadic
#313606 #063136 #360631
tetradic
#313606 #063623 #0B0636 #360619
square
#313606 #063623 #0B0636 #360619
split-complementary
#313606 #061936 #230636
monochromatic
#191C03 #191C03 #313606 #636D0C #95A412

Accessibility & contrast

On white

12.64
#313606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#313606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313606
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313606#FFFFFF#000000##FFFFFF
##3136061.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#35322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313606;
/* rgb */ color: rgb(49, 54, 6);
/* oklch */ color: oklch(31.8% 0.067 115.6);
Tailwind
colors: {
  custom: {
    50: '#6b6c4a',
    500: '#313606',
    950: '#000000',
  },
}
SCSS
$custom: #313606;
$custom-light: #6b6c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313606",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 6
  },
  "hsl": {
    "h": 66.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.06677,
    "h": 115.6
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#313606
secondary
#2A2176
accent
#31F646
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313606

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

Preview Lab → · Contrast checker → · Palette generator →

#313606 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva