#313409#313409

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

Color values

HEX#313409
RGBrgb(49, 52, 9)
HSLhsl(64, 70%, 12%)
HSVhsv(64, 83%, 20%)
CMYKcmyk(5.8%, 0%, 82.7%, 79.6%)
CIE-LABlab(20.55, -7.99, 25.02)
CIE-LCHlch(20.55, 26.26, 107.71°)
OKLaboklab(31.24% -0.0244 0.0565)
OKLCHoklch(31.24% 0.062 113.4)
XYZxyz(2.5440, 3.1287, 0.7283)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313409 #0C0934
analogous
#342209 #313409 #1C3409
triadic
#313409 #093134 #340931
tetradic
#313409 #093422 #0C0934 #34091C
square
#313409 #093422 #0C0934 #34091C
split-complementary
#313409 #091C34 #220934
monochromatic
#191A05 #191A05 #313409 #626812 #939C1B

Accessibility & contrast

On white

12.92
#313409 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#313409 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313409
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313409#FFFFFF#000000##FFFFFF
##3134091.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393104
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#35302C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313409;
/* rgb */ color: rgb(49, 52, 9);
/* oklch */ color: oklch(31.2% 0.062 113.4);
Tailwind
colors: {
  custom: {
    50: '#6b6b4c',
    500: '#313409',
    950: '#000000',
  },
}
SCSS
$custom: #313409;
$custom-light: #6b6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313409",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 9
  },
  "hsl": {
    "h": 64.186,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31236,
    "c": 0.06151,
    "h": 113.4
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#313409
secondary
#2C2772
accent
#3BED47
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313409

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

Preview Lab → · Contrast checker → · Palette generator →

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