#313309#313309

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

Color values

HEX#313309
RGBrgb(49, 51, 9)
HSLhsl(63, 70%, 12%)
HSVhsv(63, 82%, 20%)
CMYKcmyk(3.9%, 0%, 82.4%, 80%)
CIE-LABlab(20.20, -7.36, 24.63)
CIE-LCHlch(20.20, 25.71, 106.64°)
OKLaboklab(30.96% -0.0226 0.0557)
OKLCHoklch(30.96% 0.06 112.1)
XYZxyz(2.4998, 3.0404, 0.7136)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313309 #0B0933
analogous
#332009 #313309 #1C3309
triadic
#313309 #093133 #330931
tetradic
#313309 #093320 #0B0933 #33091C
square
#313309 #093320 #0B0933 #33091C
split-complementary
#313309 #091C33 #200933
monochromatic
#191A05 #191A05 #313309 #636712 #959B1B

Accessibility & contrast

On white

13.06
#313309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313309
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313309#FFFFFF#000000##FFFFFF
##3133091.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383004
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#352F2B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313309;
/* rgb */ color: rgb(49, 51, 9);
/* oklch */ color: oklch(31.0% 0.060 112.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a4c',
    500: '#313309',
    950: '#000000',
  },
}
SCSS
$custom: #313309;
$custom-light: #6b6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313309",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 9
  },
  "hsl": {
    "h": 62.857,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30958,
    "c": 0.06017,
    "h": 112.1
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#313309
secondary
#2A2771
accent
#3BED43
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313309

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

Preview Lab → · Contrast checker → · Palette generator →

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