#312905#312905

#312905 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.2% C 0.053 H 96.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#312905
RGBrgb(49, 41, 5)
HSLhsl(49, 81%, 11%)
HSVhsv(49, 90%, 19%)
CMYKcmyk(0%, 16.3%, 89.8%, 80.8%)
CIE-LABlab(16.75, -1.14, 22.18)
CIE-LCHlch(16.75, 22.21, 92.94°)
OKLaboklab(28.19% -0.0057 0.0524)
OKLCHoklch(28.19% 0.053 96.3)
XYZxyz(2.0871, 2.2499, 0.4679)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312905 #050D31
analogous
#311305 #312905 #233105
triadic
#312905 #053129 #290531
tetradic
#312905 #053113 #050D31 #310523
square
#312905 #053113 #050D31 #310523
split-complementary
#312905 #052331 #130531
monochromatic
#1C1703 #1C1703 #312905 #69570B #A08610

Accessibility & contrast

On white

14.48
#312905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312905
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312905#FFFFFF#000000##FFFFFF
##3129051.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312905;
/* rgb */ color: rgb(49, 41, 5);
/* oklch */ color: oklch(28.2% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#6b6249',
    500: '#312905',
    950: '#000000',
  },
}
SCSS
$custom: #312905;
$custom-light: #6b6249;
$custom-dark: #000000;
JSON
{
  "hex": "#312905",
  "rgb": {
    "r": 49,
    "g": 41,
    "b": 5
  },
  "hsl": {
    "h": 49.091,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28194,
    "c": 0.05267,
    "h": 96.3
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#312905
secondary
#1F2E72
accent
#54F830
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #312905

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

Preview Lab → · Contrast checker → · Palette generator →

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