#313605#313605

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

Color values

HEX#313605
RGBrgb(49, 54, 5)
HSLhsl(66, 83%, 12%)
HSVhsv(66, 91%, 21%)
CMYKcmyk(9.3%, 0%, 90.7%, 78.8%)
CIE-LABlab(21.22, -9.50, 27.38)
CIE-LCHlch(21.22, 28.98, 109.14°)
OKLaboklab(31.76% -0.0291 0.061)
OKLCHoklch(31.76% 0.068 115.5)
XYZxyz(2.6133, 3.3023, 0.6433)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313605 #0A0536
analogous
#362305 #313605 #193605
triadic
#313605 #053136 #360531
tetradic
#313605 #053623 #0A0536 #360519
square
#313605 #053623 #0A0536 #360519
split-complementary
#313605 #051936 #230536
monochromatic
#191C03 #191C03 #313605 #646E0A #97A60F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313605#FFFFFF#000000##FFFFFF
##3136051.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)
#3A3309
Tritanopia (blue-blind)
#35322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313605;
/* rgb */ color: rgb(49, 54, 5);
/* oklch */ color: oklch(31.8% 0.068 115.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c4a',
    500: '#313605',
    950: '#000000',
  },
}
SCSS
$custom: #313605;
$custom-light: #6b6c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313605",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 5
  },
  "hsl": {
    "h": 66.122,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.06763,
    "h": 115.5
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#313605
secondary
#292077
accent
#2EF943
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313605

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

Preview Lab → · Contrast checker → · Palette generator →

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