#313505#313505

#313505 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.066 H 114.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#313505
RGBrgb(49, 53, 5)
HSLhsl(65, 83%, 11%)
HSVhsv(65, 91%, 21%)
CMYKcmyk(7.5%, 0%, 90.6%, 79.2%)
CIE-LABlab(20.87, -8.89, 27.00)
CIE-LCHlch(20.87, 28.42, 108.23°)
OKLaboklab(31.48% -0.0274 0.0604)
OKLCHoklch(31.48% 0.066 114.4)
XYZxyz(2.5672, 3.2102, 0.6279)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313505 #090535
analogous
#352105 #313505 #193505
triadic
#313505 #053135 #350531
tetradic
#313505 #053521 #090535 #350519
square
#313505 #053521 #090535 #350519
split-complementary
#313505 #051935 #210535
monochromatic
#1A1C03 #1A1C03 #313505 #656D0A #98A510

Accessibility & contrast

On white

12.79
#313505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#313505 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313505
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313505#FFFFFF#000000##FFFFFF
##3135051.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393309
Tritanopia (blue-blind)
#35312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #313505;
/* rgb */ color: rgb(49, 53, 5);
/* oklch */ color: oklch(31.5% 0.066 114.4);
Tailwind
colors: {
  custom: {
    50: '#6b6c4a',
    500: '#313505',
    950: '#000000',
  },
}
SCSS
$custom: #313505;
$custom-light: #6b6c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#313505",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 5
  },
  "hsl": {
    "h": 65,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.06631,
    "h": 114.4
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#313505
secondary
#272076
accent
#2FF940
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313505

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

Preview Lab → · Contrast checker → · Palette generator →

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