#313603#313603

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

Color values

HEX#313603
RGBrgb(49, 54, 3)
HSLhsl(66, 89%, 11%)
HSVhsv(66, 94%, 21%)
CMYKcmyk(9.3%, 0%, 94.4%, 78.8%)
CIE-LABlab(21.20, -9.64, 28.17)
CIE-LCHlch(21.20, 29.78, 108.90°)
OKLaboklab(31.74% -0.0298 0.0627)
OKLCHoklch(31.74% 0.069 115.4)
XYZxyz(2.6023, 3.2979, 0.5856)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313603 #080336
analogous
#362103 #313603 #173603
triadic
#313603 #033136 #360331
tetradic
#313603 #033621 #080336 #360317
square
#313603 #033621 #080336 #360317
split-complementary
#313603 #031736 #210336
monochromatic
#1A1D02 #1A1D02 #313603 #667006 #9AAA09

Accessibility & contrast

On white

12.65
#313603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313603
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313603#FFFFFF#000000##FFFFFF
##3136031.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313603;
/* rgb */ color: rgb(49, 54, 3);
/* oklch */ color: oklch(31.7% 0.069 115.4);
Tailwind
colors: {
  custom: {
    50: '#6b6c49',
    500: '#313603',
    950: '#000000',
  },
}
SCSS
$custom: #313603;
$custom-light: #6b6c49;
$custom-dark: #000000;
JSON
{
  "hex": "#313603",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 3
  },
  "hsl": {
    "h": 65.882,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.06938,
    "h": 115.4
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#313603
secondary
#251C79
accent
#29FF3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313603

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

Preview Lab → · Contrast checker → · Palette generator →

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