#313201#313201

#313201 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.066 H 111.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#313201
RGBrgb(49, 50, 1)
HSLhsl(61, 96%, 10%)
HSVhsv(61, 98%, 20%)
CMYKcmyk(2%, 0%, 98%, 80.4%)
CIE-LABlab(19.79, -7.31, 27.42)
CIE-LCHlch(19.79, 28.37, 104.92°)
OKLaboklab(30.6% -0.0237 0.0619)
OKLCHoklch(30.6% 0.066 111)
XYZxyz(2.4128, 2.9364, 0.4684)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313201 #020132
analogous
#321A01 #313201 #193201
triadic
#313201 #013132 #320131
tetradic
#313201 #01321A #020132 #320119
square
#313201 #01321A #020132 #320119
split-complementary
#313201 #011932 #1A0132
monochromatic
#1D1E01 #1D1E01 #313201 #6C6E02 #A7AA03

Accessibility & contrast

On white

13.23
#313201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#313201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313201
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313201#FFFFFF#000000##FFFFFF
##3132011.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373004
Tritanopia (blue-blind)
#352E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313201;
/* rgb */ color: rgb(49, 50, 1);
/* oklch */ color: oklch(30.6% 0.066 111.0);
Tailwind
colors: {
  custom: {
    50: '#6b6948',
    500: '#313201',
    950: '#000000',
  },
}
SCSS
$custom: #313201;
$custom-light: #6b6948;
$custom-dark: #000000;
JSON
{
  "hex": "#313201",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 1
  },
  "hsl": {
    "h": 61.224,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.30602,
    "c": 0.06626,
    "h": 111
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#313201
secondary
#191777
accent
#29FF2D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #313201

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

Preview Lab → · Contrast checker → · Palette generator →

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