#313706#313706

#313706 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.0% C 0.068 H 116.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#313706
RGBrgb(49, 55, 6)
HSLhsl(67, 80%, 12%)
HSVhsv(67, 89%, 22%)
CMYKcmyk(10.9%, 0%, 89.1%, 78.4%)
CIE-LABlab(21.57, -10.04, 27.36)
CIE-LCHlch(21.57, 29.14, 110.16°)
OKLaboklab(32.05% -0.0305 0.0609)
OKLCHoklch(32.05% 0.068 116.6)
XYZxyz(2.6658, 3.3985, 0.6878)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313706 #0C0637
analogous
#372506 #313706 #193706
triadic
#313706 #063137 #370631
tetradic
#313706 #063725 #0C0637 #370619
square
#313706 #063725 #0C0637 #370619
split-complementary
#313706 #061937 #250637
monochromatic
#191C03 #191C03 #313706 #626E0C #93A512

Accessibility & contrast

On white

12.50
#313706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313706
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313706#FFFFFF#000000##FFFFFF
##3137061.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313706;
/* rgb */ color: rgb(49, 55, 6);
/* oklch */ color: oklch(32.0% 0.068 116.6);
Tailwind
colors: {
  custom: {
    50: '#6b6d4b',
    500: '#313706',
    950: '#000000',
  },
}
SCSS
$custom: #313706;
$custom-light: #6b6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#313706",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 67.347,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.06812,
    "h": 116.6
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#313706
secondary
#2C2177
accent
#31F749
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313706

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

Preview Lab → · Contrast checker → · Palette generator →

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