#313709#313709

#313709 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.1% C 0.066 H 116.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#313709
RGBrgb(49, 55, 9)
HSLhsl(68, 72%, 13%)
HSVhsv(68, 84%, 22%)
CMYKcmyk(10.9%, 0%, 83.6%, 78.4%)
CIE-LABlab(21.60, -9.84, 26.16)
CIE-LCHlch(21.60, 27.95, 110.60°)
OKLaboklab(32.07% -0.0295 0.0586)
OKLCHoklch(32.07% 0.066 116.7)
XYZxyz(2.6822, 3.4051, 0.7743)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313709 #0F0937
analogous
#372609 #313709 #1A3709
triadic
#313709 #093137 #370931
tetradic
#313709 #093726 #0F0937 #37091A
square
#313709 #093726 #0F0937 #37091A
split-complementary
#313709 #091A37 #260937
monochromatic
#171A04 #171A04 #313709 #606C12 #8FA01A

Accessibility & contrast

On white

12.49
#313709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#313709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313709
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313709#FFFFFF#000000##FFFFFF
##3137091.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3403
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#35332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313709;
/* rgb */ color: rgb(49, 55, 9);
/* oklch */ color: oklch(32.1% 0.066 116.7);
Tailwind
colors: {
  custom: {
    50: '#6b6d4c',
    500: '#313709',
    950: '#000000',
  },
}
SCSS
$custom: #313709;
$custom-light: #6b6d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313709",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 9
  },
  "hsl": {
    "h": 67.826,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32075,
    "c": 0.06564,
    "h": 116.7
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#313709
secondary
#312775
accent
#39EF51
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313709

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

Preview Lab → · Contrast checker → · Palette generator →

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