#312801#312801

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

Color values

HEX#312801
RGBrgb(49, 40, 1)
HSLhsl(49, 96%, 10%)
HSVhsv(49, 98%, 19%)
CMYKcmyk(0%, 18.4%, 98%, 80.8%)
CIE-LABlab(16.37, -0.78, 23.34)
CIE-LCHlch(16.37, 23.36, 91.90°)
OKLaboklab(27.88% -0.0055 0.0559)
OKLCHoklch(27.88% 0.056 95.7)
XYZxyz(2.0310, 2.1729, 0.3411)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312801 #010A31
analogous
#311001 #312801 #223101
triadic
#312801 #013128 #280131
tetradic
#312801 #013110 #010A31 #310122
square
#312801 #013110 #010A31 #310122
split-complementary
#312801 #012231 #100131
monochromatic
#1E1801 #1E1801 #312801 #6D5902 #A98A03

Accessibility & contrast

On white

14.64
#312801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#312801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312801
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312801#FFFFFF#000000##FFFFFF
##3128011.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #312801;
/* rgb */ color: rgb(49, 40, 1);
/* oklch */ color: oklch(27.9% 0.056 95.7);
Tailwind
colors: {
  custom: {
    50: '#6b6147',
    500: '#312801',
    950: '#000000',
  },
}
SCSS
$custom: #312801;
$custom-light: #6b6147;
$custom-dark: #000000;
JSON
{
  "hex": "#312801",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 48.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27881,
    "c": 0.05619,
    "h": 95.7
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#312801
secondary
#172977
accent
#51FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #312801

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

Preview Lab → · Contrast checker → · Palette generator →

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