#313604#313604

#313604 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.7% C 0.069 H 115.5°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#313604
RGBrgb(49, 54, 4)
HSLhsl(66, 86%, 11%)
HSVhsv(66, 93%, 21%)
CMYKcmyk(9.3%, 0%, 92.6%, 78.8%)
CIE-LABlab(21.21, -9.57, 27.78)
CIE-LCHlch(21.21, 29.38, 109.02°)
OKLaboklab(31.75% -0.0295 0.0618)
OKLCHoklch(31.75% 0.069 115.5)
XYZxyz(2.6078, 3.3001, 0.6145)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313604 #090436
analogous
#362204 #313604 #183604
triadic
#313604 #043136 #360431
tetradic
#313604 #043622 #090436 #360418
square
#313604 #043622 #090436 #360418
split-complementary
#313604 #041836 #220436
monochromatic
#1A1C02 #1A1C02 #313604 #656F08 #98A80C

Accessibility & contrast

On white

12.65
#313604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313604
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313604#FFFFFF#000000##FFFFFF
##3136041.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313604;
/* rgb */ color: rgb(49, 54, 4);
/* oklch */ color: oklch(31.7% 0.069 115.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c49',
    500: '#313604',
    950: '#000000',
  },
}
SCSS
$custom: #313604;
$custom-light: #6b6c49;
$custom-dark: #000000;
JSON
{
  "hex": "#313604",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 66,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.0685,
    "h": 115.5
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#313604
secondary
#271E78
accent
#2BFC40
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313604

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

Preview Lab → · Contrast checker → · Palette generator →

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