#313001#313001

#313001 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.064 H 108.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#313001
RGBrgb(49, 48, 1)
HSLhsl(59, 96%, 10%)
HSVhsv(59, 98%, 19%)
CMYKcmyk(0%, 2%, 98%, 80.8%)
CIE-LABlab(19.09, -6.04, 26.62)
CIE-LCHlch(19.09, 27.30, 102.78°)
OKLaboklab(30.05% -0.0202 0.0607)
OKLCHoklch(30.05% 0.064 108.4)
XYZxyz(2.3292, 2.7691, 0.4405)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313001 #010231
analogous
#311801 #313001 #1A3101
triadic
#313001 #013130 #300131
tetradic
#313001 #013118 #010231 #31011A
square
#313001 #013118 #010231 #31011A
split-complementary
#313001 #011A31 #180131
monochromatic
#1E1D01 #1E1D01 #313001 #6D6B02 #A9A603

Accessibility & contrast

On white

13.52
#313001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#313001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313001
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313001#FFFFFF#000000##FFFFFF
##3130011.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#362F04
Tritanopia (blue-blind)
#352C27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #313001;
/* rgb */ color: rgb(49, 48, 1);
/* oklch */ color: oklch(30.0% 0.064 108.4);
Tailwind
colors: {
  custom: {
    50: '#6b6847',
    500: '#313001',
    950: '#000000',
  },
}
SCSS
$custom: #313001;
$custom-light: #6b6847;
$custom-dark: #000000;
JSON
{
  "hex": "#313001",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 58.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.30048,
    "c": 0.06394,
    "h": 108.4
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#313001
secondary
#171977
accent
#2DFF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #313001

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

Preview Lab → · Contrast checker → · Palette generator →

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