#312908#312908

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

Color values

HEX#312908
RGBrgb(49, 41, 8)
HSLhsl(48, 72%, 11%)
HSVhsv(48, 84%, 19%)
CMYKcmyk(0%, 16.3%, 83.7%, 80.8%)
CIE-LABlab(16.78, -0.91, 21.00)
CIE-LCHlch(16.78, 21.02, 92.48°)
OKLaboklab(28.23% -0.0046 0.0494)
OKLCHoklch(28.23% 0.05 95.3)
XYZxyz(2.1035, 2.2565, 0.5544)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312908 #081031
analogous
#311408 #312908 #243108
triadic
#312908 #083129 #290831
tetradic
#312908 #083114 #081031 #310824
square
#312908 #083114 #081031 #310824
split-complementary
#312908 #082431 #140831
monochromatic
#1A1604 #1A1604 #312908 #665511 #9A8119

Accessibility & contrast

On white

14.47
#312908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312908
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312908#FFFFFF#000000##FFFFFF
##3129081.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312908;
/* rgb */ color: rgb(49, 41, 8);
/* oklch */ color: oklch(28.2% 0.050 95.3);
Tailwind
colors: {
  custom: {
    50: '#6b624a',
    500: '#312908',
    950: '#000000',
  },
}
SCSS
$custom: #312908;
$custom-light: #6b624a;
$custom-dark: #000000;
JSON
{
  "hex": "#312908",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 48.293,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.04961,
    "h": 95.3
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#312908
secondary
#253470
accent
#5DEF39
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312908

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

Preview Lab → · Contrast checker → · Palette generator →

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