#312809#312809

#312809 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.048 H 92.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#312809
RGBrgb(49, 40, 9)
HSLhsl(47, 69%, 11%)
HSVhsv(47, 82%, 19%)
CMYKcmyk(0%, 18.4%, 81.6%, 80.8%)
CIE-LABlab(16.46, -0.16, 20.19)
CIE-LCHlch(16.46, 20.19, 90.45°)
OKLaboklab(27.98% -0.0022 0.0477)
OKLCHoklch(27.98% 0.048 92.7)
XYZxyz(2.0748, 2.1904, 0.5719)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312809 #091231
analogous
#311409 #312809 #263109
triadic
#312809 #093128 #280931
tetradic
#312809 #093114 #091231 #310926
square
#312809 #093114 #091231 #310926
split-complementary
#312809 #092631 #140931
monochromatic
#1A1505 #1A1505 #312809 #655212 #987C1C

Accessibility & contrast

On white

14.60
#312809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#312809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312809
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312809#FFFFFF#000000##FFFFFF
##3128091.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2706
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#362422
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #312809;
/* rgb */ color: rgb(49, 40, 9);
/* oklch */ color: oklch(28.0% 0.048 92.7);
Tailwind
colors: {
  custom: {
    50: '#6b614b',
    500: '#312809',
    950: '#000000',
  },
}
SCSS
$custom: #312809;
$custom-light: #6b614b;
$custom-dark: #000000;
JSON
{
  "hex": "#312809",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 9
  },
  "hsl": {
    "h": 46.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27977,
    "c": 0.04776,
    "h": 92.7
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#312809
secondary
#27376F
accent
#64EC3C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312809

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

Preview Lab → · Contrast checker → · Palette generator →

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