#312C19#312C19

#312C19 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.032 H 95.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#312C19
RGBrgb(49, 44, 25)
HSLhsl(48, 32%, 15%)
HSVhsv(48, 49%, 19%)
CMYKcmyk(0%, 10.2%, 49%, 80.8%)
CIE-LABlab(18.03, -1.17, 13.16)
CIE-LCHlch(18.03, 13.21, 95.06°)
OKLaboklab(29.3% -0.0029 0.0322)
OKLCHoklch(29.3% 0.032 95.1)
XYZxyz(2.3428, 2.5246, 1.2834)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312C19 #191E31
analogous
#312019 #312C19 #2A3119
triadic
#312C19 #19312C #2C1931
tetradic
#312C19 #193120 #191E31 #31192A
square
#312C19 #193120 #191E31 #31192A
split-complementary
#312C19 #192A31 #201931
monochromatic
#14120A #14120A #312C19 #5A502E #827542

Accessibility & contrast

On white

13.95
#312C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#312C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312C19
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312C19#FFFFFF#000000##FFFFFF
##312C191.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B18
Deuteranopia (green-blind)
#312D1A
Tritanopia (blue-blind)
#342927
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #312c19;
/* rgb */ color: rgb(49, 44, 25);
/* oklch */ color: oklch(29.3% 0.032 95.1);
Tailwind
colors: {
  custom: {
    50: '#696456',
    500: '#312c19',
    950: '#000000',
  },
}
SCSS
$custom: #312c19;
$custom-light: #696456;
$custom-dark: #000000;
JSON
{
  "hex": "#312c19",
  "rgb": {
    "r": 49,
    "g": 44,
    "b": 25
  },
  "hsl": {
    "h": 47.5,
    "s": 32.432,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29297,
    "c": 0.03234,
    "h": 95.1
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#312C19
secondary
#404866
accent
#75C95F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060503
muted
#7A7A78

Preview Lab

Preview with #312C19

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

Preview Lab → · Contrast checker → · Palette generator →

#312C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva