#313609#313609

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

Color values

HEX#313609
RGBrgb(49, 54, 9)
HSLhsl(67, 71%, 12%)
HSVhsv(67, 83%, 21%)
CMYKcmyk(9.3%, 0%, 83.3%, 78.8%)
CIE-LABlab(21.25, -9.23, 25.78)
CIE-LCHlch(21.25, 27.38, 109.69°)
OKLaboklab(31.8% -0.0278 0.0579)
OKLCHoklch(31.8% 0.064 115.7)
XYZxyz(2.6352, 3.3111, 0.7587)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313609 #0E0936
analogous
#362509 #313609 #1A3609
triadic
#313609 #093136 #360931
tetradic
#313609 #093625 #0E0936 #36091A
square
#313609 #093625 #0E0936 #36091A
split-complementary
#313609 #091A36 #250936
monochromatic
#181A04 #181A04 #313609 #616A12 #909F1A

Accessibility & contrast

On white

12.63
#313609 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313609
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313609#FFFFFF#000000##FFFFFF
##3136091.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3303
Deuteranopia (green-blind)
#3A330D
Tritanopia (blue-blind)
#35322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313609;
/* rgb */ color: rgb(49, 54, 9);
/* oklch */ color: oklch(31.8% 0.064 115.7);
Tailwind
colors: {
  custom: {
    50: '#6b6c4c',
    500: '#313609',
    950: '#000000',
  },
}
SCSS
$custom: #313609;
$custom-light: #6b6c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313609",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 9
  },
  "hsl": {
    "h": 66.667,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.06425,
    "h": 115.7
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#313609
secondary
#2F2774
accent
#3AEE4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313609

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

Preview Lab → · Contrast checker → · Palette generator →

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