#313305#313305

#313305 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.064 H 112.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#313305
RGBrgb(49, 51, 5)
HSLhsl(63, 82%, 11%)
HSVhsv(63, 90%, 20%)
CMYKcmyk(3.9%, 0%, 90.2%, 80%)
CIE-LABlab(20.17, -7.65, 26.22)
CIE-LCHlch(20.17, 27.31, 106.26°)
OKLaboklab(30.92% -0.024 0.059)
OKLCHoklch(30.92% 0.064 112.1)
XYZxyz(2.4779, 3.0316, 0.5982)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313305 #070533
analogous
#331E05 #313305 #1A3305
triadic
#313305 #053133 #330531
tetradic
#313305 #05331E #070533 #33051A
square
#313305 #05331E #070533 #33051A
split-complementary
#313305 #051A33 #1E0533
monochromatic
#1B1C03 #1B1C03 #313305 #676B0A #9CA210

Accessibility & contrast

On white

13.07
#313305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#313305 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313305
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313305#FFFFFF#000000##FFFFFF
##3133051.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#352F2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313305;
/* rgb */ color: rgb(49, 51, 5);
/* oklch */ color: oklch(30.9% 0.064 112.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a4a',
    500: '#313305',
    950: '#000000',
  },
}
SCSS
$custom: #313305;
$custom-light: #6b6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313305",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 62.609,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.06372,
    "h": 112.1
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#313305
secondary
#231F74
accent
#2FF838
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313305

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

Preview Lab → · Contrast checker → · Palette generator →

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