#312605#312605

#312605 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.050 H 89.9°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#312605
RGBrgb(49, 38, 5)
HSLhsl(45, 81%, 11%)
HSVhsv(45, 90%, 19%)
CMYKcmyk(0%, 22.4%, 89.8%, 80.8%)
CIE-LABlab(15.75, 0.89, 20.94)
CIE-LCHlch(15.75, 20.96, 87.55°)
OKLaboklab(27.41% 0.0001 0.0504)
OKLCHoklch(27.41% 0.05 89.9)
XYZxyz(1.9872, 2.0503, 0.4346)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312605 #051031
analogous
#311005 #312605 #263105
triadic
#312605 #053126 #260531
tetradic
#312605 #053110 #051031 #310526
square
#312605 #053110 #051031 #310526
split-complementary
#312605 #052631 #100531
monochromatic
#1C1603 #1C1603 #312605 #69510B #A07C10

Accessibility & contrast

On white

14.89
#312605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#312605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312605
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312605#FFFFFF#000000##FFFFFF
##3126051.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2502
Deuteranopia (green-blind)
#2E2906
Tritanopia (blue-blind)
#36221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #312605;
/* rgb */ color: rgb(49, 38, 5);
/* oklch */ color: oklch(27.4% 0.050 89.9);
Tailwind
colors: {
  custom: {
    50: '#6b6049',
    500: '#312605',
    950: '#000000',
  },
}
SCSS
$custom: #312605;
$custom-light: #6b6049;
$custom-dark: #000000;
JSON
{
  "hex": "#312605",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 5
  },
  "hsl": {
    "h": 45,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27405,
    "c": 0.05037,
    "h": 89.9
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#312605
secondary
#1F3472
accent
#62F830
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070401
muted
#7A7977

Preview Lab

Preview with #312605

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

Preview Lab → · Contrast checker → · Palette generator →

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