#312501#312501

#312501 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.054 H 89.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#312501
RGBrgb(49, 37, 1)
HSLhsl(45, 96%, 10%)
HSVhsv(45, 98%, 19%)
CMYKcmyk(0%, 24.5%, 98%, 80.8%)
CIE-LABlab(15.37, 1.27, 22.09)
CIE-LCHlch(15.37, 22.13, 86.72°)
OKLaboklab(27.1% 0.0002 0.0542)
OKLCHoklch(27.1% 0.054 89.8)
XYZxyz(1.9338, 1.9784, 0.3087)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312501 #010D31
analogous
#310D01 #312501 #253101
triadic
#312501 #013125 #250131
tetradic
#312501 #01310D #010D31 #310125
square
#312501 #01310D #010D31 #310125
split-complementary
#312501 #012531 #0D0131
monochromatic
#1E1701 #1E1701 #312501 #6D5202 #A98003

Accessibility & contrast

On white

15.05
#312501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#312501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312501
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312501#FFFFFF#000000##FFFFFF
##3125011.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2E2802
Tritanopia (blue-blind)
#36211E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #312501;
/* rgb */ color: rgb(49, 37, 1);
/* oklch */ color: oklch(27.1% 0.054 89.8);
Tailwind
colors: {
  custom: {
    50: '#6b5f47',
    500: '#312501',
    950: '#000000',
  },
}
SCSS
$custom: #312501;
$custom-light: #6b5f47;
$custom-dark: #000000;
JSON
{
  "hex": "#312501",
  "rgb": {
    "r": 49,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 45,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27095,
    "c": 0.05418,
    "h": 89.8
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#312501
secondary
#172F77
accent
#5EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #312501

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

Preview Lab → · Contrast checker → · Palette generator →

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