#312706#312706

#312706 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.050 H 91.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#312706
RGBrgb(49, 39, 6)
HSLhsl(46, 78%, 11%)
HSVhsv(46, 88%, 19%)
CMYKcmyk(0%, 20.4%, 87.8%, 80.8%)
CIE-LABlab(16.09, 0.29, 20.96)
CIE-LCHlch(16.09, 20.96, 89.21°)
OKLaboklab(27.68% -0.0015 0.05)
OKLCHoklch(27.68% 0.05 91.7)
XYZxyz(2.0251, 2.1173, 0.4743)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312706 #061031
analogous
#311106 #312706 #253106
triadic
#312706 #063127 #270631
tetradic
#312706 #063111 #061031 #310625
square
#312706 #063111 #061031 #310625
split-complementary
#312706 #062531 #110631
monochromatic
#1B1603 #1B1603 #312706 #68520D #9E7E13

Accessibility & contrast

On white

14.75
#312706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#312706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312706
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312706#FFFFFF#000000##FFFFFF
##3127061.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#362320
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #312706;
/* rgb */ color: rgb(49, 39, 6);
/* oklch */ color: oklch(27.7% 0.050 91.7);
Tailwind
colors: {
  custom: {
    50: '#6b6049',
    500: '#312706',
    950: '#000000',
  },
}
SCSS
$custom: #312706;
$custom-light: #6b6049;
$custom-dark: #000000;
JSON
{
  "hex": "#312706",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 46.047,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.05002,
    "h": 91.7
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#312706
secondary
#213472
accent
#60F533
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312706

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

Preview Lab → · Contrast checker → · Palette generator →

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