#312601#312601

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

Color values

HEX#312601
RGBrgb(49, 38, 1)
HSLhsl(46, 96%, 10%)
HSVhsv(46, 98%, 19%)
CMYKcmyk(0%, 22.4%, 98%, 80.8%)
CIE-LABlab(15.70, 0.58, 22.51)
CIE-LCHlch(15.70, 22.52, 88.52°)
OKLaboklab(27.36% -0.0017 0.0548)
OKLCHoklch(27.36% 0.055 91.8)
XYZxyz(1.9653, 2.0415, 0.3192)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312601 #010C31
analogous
#310E01 #312601 #243101
triadic
#312601 #013126 #260131
tetradic
#312601 #01310E #010C31 #310124
square
#312601 #01310E #010C31 #310124
split-complementary
#312601 #012431 #0E0131
monochromatic
#1E1701 #1E1701 #312601 #6D5502 #A98303

Accessibility & contrast

On white

14.91
#312601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #312601
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312601#FFFFFF#000000##FFFFFF
##3126011.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312601;
/* rgb */ color: rgb(49, 38, 1);
/* oklch */ color: oklch(27.4% 0.055 91.8);
Tailwind
colors: {
  custom: {
    50: '#6b6047',
    500: '#312601',
    950: '#000000',
  },
}
SCSS
$custom: #312601;
$custom-light: #6b6047;
$custom-dark: #000000;
JSON
{
  "hex": "#312601",
  "rgb": {
    "r": 49,
    "g": 38,
    "b": 1
  },
  "hsl": {
    "h": 46.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27355,
    "c": 0.05479,
    "h": 91.8
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#312601
secondary
#172D77
accent
#5AFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312601

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

Preview Lab → · Contrast checker → · Palette generator →

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