#312805#312805

#312805 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.052 H 94.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#312805
RGBrgb(49, 40, 5)
HSLhsl(48, 81%, 11%)
HSVhsv(48, 90%, 19%)
CMYKcmyk(0%, 18.4%, 89.8%, 80.8%)
CIE-LABlab(16.41, -0.47, 21.77)
CIE-LCHlch(16.41, 21.77, 91.22°)
OKLaboklab(27.93% -0.0038 0.0517)
OKLCHoklch(27.93% 0.052 94.2)
XYZxyz(2.0529, 2.1816, 0.4565)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312805 #050E31
analogous
#311205 #312805 #243105
triadic
#312805 #053128 #280531
tetradic
#312805 #053112 #050E31 #310524
square
#312805 #053112 #050E31 #310524
split-complementary
#312805 #052431 #120531
monochromatic
#1C1703 #1C1703 #312805 #69550B #A08310

Accessibility & contrast

On white

14.62
#312805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#312805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312805
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312805#FFFFFF#000000##FFFFFF
##3128051.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#362421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #312805;
/* rgb */ color: rgb(49, 40, 5);
/* oklch */ color: oklch(27.9% 0.052 94.2);
Tailwind
colors: {
  custom: {
    50: '#6b6149',
    500: '#312805',
    950: '#000000',
  },
}
SCSS
$custom: #312805;
$custom-light: #6b6149;
$custom-dark: #000000;
JSON
{
  "hex": "#312805",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 47.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27929,
    "c": 0.05184,
    "h": 94.2
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#312805
secondary
#1F3072
accent
#59F830
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312805

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

Preview Lab → · Contrast checker → · Palette generator →

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