#312604#312604

#312604 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.4% C 0.051 H 90.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#312604
RGBrgb(49, 38, 4)
HSLhsl(45, 85%, 10%)
HSVhsv(45, 92%, 19%)
CMYKcmyk(0%, 22.4%, 91.8%, 80.8%)
CIE-LABlab(15.74, 0.82, 21.33)
CIE-LCHlch(15.74, 21.35, 87.80°)
OKLaboklab(27.39% -0.0004 0.0514)
OKLCHoklch(27.39% 0.051 90.4)
XYZxyz(1.9818, 2.0481, 0.4058)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312604 #040F31
analogous
#310F04 #312604 #253104
triadic
#312604 #043126 #260431
tetradic
#312604 #04310F #040F31 #310425
square
#312604 #04310F #040F31 #310425
split-complementary
#312604 #042531 #0F0431
monochromatic
#1C1602 #1C1602 #312604 #6A5209 #A27E0D

Accessibility & contrast

On white

14.90
#312604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312604
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312604#FFFFFF#000000##FFFFFF
##3126041.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312604;
/* rgb */ color: rgb(49, 38, 4);
/* oklch */ color: oklch(27.4% 0.051 90.4);
Tailwind
colors: {
  custom: {
    50: '#6b6048',
    500: '#312604',
    950: '#000000',
  },
}
SCSS
$custom: #312604;
$custom-light: #6b6048;
$custom-dark: #000000;
JSON
{
  "hex": "#312604",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 4
  },
  "hsl": {
    "h": 45.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27393,
    "c": 0.05144,
    "h": 90.4
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#312604
secondary
#1D3273
accent
#5FFB2D
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312604

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

Preview Lab → · Contrast checker → · Palette generator →

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