#312909#312909

#312909 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.049 H 94.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#312909
RGBrgb(49, 41, 9)
HSLhsl(48, 69%, 11%)
HSVhsv(48, 82%, 19%)
CMYKcmyk(0%, 16.3%, 81.6%, 80.8%)
CIE-LABlab(16.79, -0.83, 20.61)
CIE-LCHlch(16.79, 20.62, 92.32°)
OKLaboklab(28.24% -0.0042 0.0485)
OKLCHoklch(28.24% 0.049 94.9)
XYZxyz(2.1090, 2.2587, 0.5833)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312909 #091131
analogous
#311509 #312909 #253109
triadic
#312909 #093129 #290931
tetradic
#312909 #093115 #091131 #310925
square
#312909 #093115 #091131 #310925
split-complementary
#312909 #092531 #150931
monochromatic
#1A1605 #1A1605 #312909 #655412 #98801C

Accessibility & contrast

On white

14.46
#312909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#312909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312909
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312909#FFFFFF#000000##FFFFFF
##3129091.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2806
Deuteranopia (green-blind)
#302A0B
Tritanopia (blue-blind)
#362522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #312909;
/* rgb */ color: rgb(49, 41, 9);
/* oklch */ color: oklch(28.2% 0.049 94.9);
Tailwind
colors: {
  custom: {
    50: '#6b624b',
    500: '#312909',
    950: '#000000',
  },
}
SCSS
$custom: #312909;
$custom-light: #6b624b;
$custom-dark: #000000;
JSON
{
  "hex": "#312909",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 9
  },
  "hsl": {
    "h": 48,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28241,
    "c": 0.04863,
    "h": 94.9
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#312909
secondary
#27356F
accent
#5FEC3C
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312909

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

Preview Lab → · Contrast checker → · Palette generator →

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