#313405#313405

#313405 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.065 H 113.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#313405
RGBrgb(49, 52, 5)
HSLhsl(64, 82%, 11%)
HSVhsv(64, 90%, 20%)
CMYKcmyk(5.8%, 0%, 90.4%, 79.6%)
CIE-LABlab(20.52, -8.27, 26.61)
CIE-LCHlch(20.52, 27.87, 107.27°)
OKLaboklab(31.2% -0.0257 0.0597)
OKLCHoklch(31.2% 0.065 113.3)
XYZxyz(2.5221, 3.1200, 0.6129)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313405 #080534
analogous
#341F05 #313405 #193405
triadic
#313405 #053134 #340531
tetradic
#313405 #05341F #080534 #340519
square
#313405 #05341F #080534 #340519
split-complementary
#313405 #051934 #1F0534
monochromatic
#1A1C03 #1A1C03 #313405 #666C0A #9AA410

Accessibility & contrast

On white

12.93
#313405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#313405 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313405
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313405#FFFFFF#000000##FFFFFF
##3134051.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#35302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313405;
/* rgb */ color: rgb(49, 52, 5);
/* oklch */ color: oklch(31.2% 0.065 113.3);
Tailwind
colors: {
  custom: {
    50: '#6b6b4a',
    500: '#313405',
    950: '#000000',
  },
}
SCSS
$custom: #313405;
$custom-light: #6b6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313405",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 5
  },
  "hsl": {
    "h": 63.83,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.06501,
    "h": 113.3
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#313405
secondary
#251F75
accent
#2FF93C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313405

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

Preview Lab → · Contrast checker → · Palette generator →

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