#312C05#312C05

#312C05 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.056 H 101.9°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#312C05
RGBrgb(49, 44, 5)
HSLhsl(53, 81%, 11%)
HSVhsv(53, 90%, 19%)
CMYKcmyk(0%, 10.2%, 89.8%, 80.8%)
CIE-LABlab(17.76, -3.14, 23.42)
CIE-LCHlch(17.76, 23.63, 97.64°)
OKLaboklab(29% -0.0114 0.0544)
OKLCHoklch(29% 0.056 101.9)
XYZxyz(2.1948, 2.4654, 0.5038)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312C05 #050A31
analogous
#311605 #312C05 #203105
triadic
#312C05 #05312C #2C0531
tetradic
#312C05 #053116 #050A31 #310520
square
#312C05 #053116 #050A31 #310520
split-complementary
#312C05 #052031 #160531
monochromatic
#1C1903 #1C1903 #312C05 #695E0B #A09010

Accessibility & contrast

On white

14.07
#312C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#312C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312C05
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312C05#FFFFFF#000000##FFFFFF
##312C051.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#332C07
Tritanopia (blue-blind)
#362824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #312c05;
/* rgb */ color: rgb(49, 44, 5);
/* oklch */ color: oklch(29.0% 0.056 101.9);
Tailwind
colors: {
  custom: {
    50: '#6b6449',
    500: '#312c05',
    950: '#000000',
  },
}
SCSS
$custom: #312c05;
$custom-light: #6b6449;
$custom-dark: #000000;
JSON
{
  "hex": "#312c05",
  "rgb": {
    "r": 49,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 53.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28998,
    "c": 0.05554,
    "h": 101.9
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#312C05
secondary
#1F2972
accent
#47F830
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #312C05

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

Preview Lab → · Contrast checker → · Palette generator →

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