#313601#313601

#313601 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.7% C 0.071 H 115.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#313601
RGBrgb(49, 54, 1)
HSLhsl(66, 96%, 11%)
HSVhsv(66, 98%, 21%)
CMYKcmyk(9.3%, 0%, 98.1%, 78.8%)
CIE-LABlab(21.18, -9.78, 28.97)
CIE-LCHlch(21.18, 30.58, 108.66°)
OKLaboklab(31.72% -0.0305 0.0643)
OKLCHoklch(31.72% 0.071 115.4)
XYZxyz(2.5914, 3.2935, 0.5279)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313601 #060136
analogous
#362001 #313601 #163601
triadic
#313601 #013136 #360131
tetradic
#313601 #013620 #060136 #360116
square
#313601 #013620 #060136 #360116
split-complementary
#313601 #011636 #200136
monochromatic
#1B1E01 #1B1E01 #313601 #687202 #9EAE03

Accessibility & contrast

On white

12.66
#313601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#313601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313601
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313601#FFFFFF#000000##FFFFFF
##3136011.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A3305
Tritanopia (blue-blind)
#35322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313601;
/* rgb */ color: rgb(49, 54, 1);
/* oklch */ color: oklch(31.7% 0.071 115.4);
Tailwind
colors: {
  custom: {
    50: '#6b6c48',
    500: '#313601',
    950: '#000000',
  },
}
SCSS
$custom: #313601;
$custom-light: #6b6c48;
$custom-dark: #000000;
JSON
{
  "hex": "#313601",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 1
  },
  "hsl": {
    "h": 65.66,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.07115,
    "h": 115.4
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#313601
secondary
#21187B
accent
#29FF3D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313601

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

Preview Lab → · Contrast checker → · Palette generator →

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