#313101#313101

#313101 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.3% C 0.065 H 109.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#313101
RGBrgb(49, 49, 1)
HSLhsl(60, 96%, 10%)
HSVhsv(60, 98%, 19%)
CMYKcmyk(0%, 0%, 98%, 80.8%)
CIE-LABlab(19.44, -6.68, 27.02)
CIE-LCHlch(19.44, 27.83, 103.88°)
OKLaboklab(30.32% -0.022 0.0613)
OKLCHoklch(30.32% 0.065 109.7)
XYZxyz(2.3705, 2.8519, 0.4543)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313101 #010131
analogous
#311901 #313101 #193101
triadic
#313101 #013131 #310131
tetradic
#313101 #013119 #010131 #310119
square
#313101 #013119 #010131 #310119
split-complementary
#313101 #011931 #190131
monochromatic
#1E1E01 #1E1E01 #313101 #6D6D02 #A9A903

Accessibility & contrast

On white

13.37
#313101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#313101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313101
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313101#FFFFFF#000000##FFFFFF
##3131011.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#373004
Tritanopia (blue-blind)
#352D28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313101;
/* rgb */ color: rgb(49, 49, 1);
/* oklch */ color: oklch(30.3% 0.065 109.7);
Tailwind
colors: {
  custom: {
    50: '#6b6848',
    500: '#313101',
    950: '#000000',
  },
}
SCSS
$custom: #313101;
$custom-light: #6b6848;
$custom-dark: #000000;
JSON
{
  "hex": "#313101",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 60,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.06509,
    "h": 109.7
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#313101
secondary
#171777
accent
#29FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #313101

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

Preview Lab → · Contrast checker → · Palette generator →

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