#312701#312701

#312701 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.055 H 93.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#312701
RGBrgb(49, 39, 1)
HSLhsl(48, 96%, 10%)
HSVhsv(48, 98%, 19%)
CMYKcmyk(0%, 20.4%, 98%, 80.8%)
CIE-LABlab(16.04, -0.10, 22.93)
CIE-LCHlch(16.04, 22.93, 90.25°)
OKLaboklab(27.62% -0.0036 0.0553)
OKLCHoklch(27.62% 0.055 93.8)
XYZxyz(1.9977, 2.1063, 0.3300)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#312701 #010B31
analogous
#310F01 #312701 #233101
triadic
#312701 #013127 #270131
tetradic
#312701 #01310F #010B31 #310123
square
#312701 #01310F #010B31 #310123
split-complementary
#312701 #012331 #0F0131
monochromatic
#1E1801 #1E1801 #312701 #6D5702 #A98603

Accessibility & contrast

On white

14.78
#312701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#312701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #312701
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##312701#FFFFFF#000000##FFFFFF
##3127011.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2F2903
Tritanopia (blue-blind)
#362320
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #312701;
/* rgb */ color: rgb(49, 39, 1);
/* oklch */ color: oklch(27.6% 0.055 93.8);
Tailwind
colors: {
  custom: {
    50: '#6b6047',
    500: '#312701',
    950: '#000000',
  },
}
SCSS
$custom: #312701;
$custom-light: #6b6047;
$custom-dark: #000000;
JSON
{
  "hex": "#312701",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 47.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27617,
    "c": 0.05546,
    "h": 93.8
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#312701
secondary
#172B77
accent
#55FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #312701

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

Preview Lab → · Contrast checker → · Palette generator →

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