#312709#312709

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

Color values

HEX#312709
RGBrgb(49, 39, 9)
HSLhsl(45, 69%, 11%)
HSVhsv(45, 82%, 19%)
CMYKcmyk(0%, 20.4%, 81.6%, 80.8%)
CIE-LABlab(16.12, 0.52, 19.78)
CIE-LCHlch(16.12, 19.79, 88.48°)
OKLaboklab(27.72% -0.0003 0.047)
OKLCHoklch(27.72% 0.047 90.4)
XYZxyz(2.0416, 2.1238, 0.5608)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312709 #091331
analogous
#311309 #312709 #273109
triadic
#312709 #093127 #270931
tetradic
#312709 #093113 #091331 #310927
square
#312709 #093113 #091331 #310927
split-complementary
#312709 #092731 #130931
monochromatic
#1A1505 #1A1505 #312709 #655012 #98791C

Accessibility & contrast

On white

14.74
#312709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312709
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312709#FFFFFF#000000##FFFFFF
##3127091.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#362321
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #312709;
/* rgb */ color: rgb(49, 39, 9);
/* oklch */ color: oklch(27.7% 0.047 90.4);
Tailwind
colors: {
  custom: {
    50: '#6b604b',
    500: '#312709',
    950: '#000000',
  },
}
SCSS
$custom: #312709;
$custom-light: #6b604b;
$custom-dark: #000000;
JSON
{
  "hex": "#312709",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 9
  },
  "hsl": {
    "h": 45,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27715,
    "c": 0.04698,
    "h": 90.4
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#312709
secondary
#27396F
accent
#68EC3C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312709

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

Preview Lab → · Contrast checker → · Palette generator →

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