#313205#313205

#313205 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.6% C 0.062 H 110.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#313205
RGBrgb(49, 50, 5)
HSLhsl(61, 82%, 11%)
HSVhsv(61, 90%, 20%)
CMYKcmyk(2%, 0%, 90%, 80.4%)
CIE-LABlab(19.82, -7.02, 25.83)
CIE-LCHlch(19.82, 26.76, 105.20°)
OKLaboklab(30.64% -0.0222 0.0584)
OKLCHoklch(30.64% 0.062 110.9)
XYZxyz(2.4347, 2.9452, 0.5838)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313205 #060532
analogous
#321C05 #313205 #1A3205
triadic
#313205 #053132 #320531
tetradic
#313205 #05321C #060532 #32051A
square
#313205 #05321C #060532 #32051A
split-complementary
#313205 #051A32 #1C0532
monochromatic
#1B1C03 #1B1C03 #313205 #686A0B #9EA110

Accessibility & contrast

On white

13.22
#313205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#313205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313205
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313205#FFFFFF#000000##FFFFFF
##3132051.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373008
Tritanopia (blue-blind)
#352E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313205;
/* rgb */ color: rgb(49, 50, 5);
/* oklch */ color: oklch(30.6% 0.062 110.9);
Tailwind
colors: {
  custom: {
    50: '#6b694a',
    500: '#313205',
    950: '#000000',
  },
}
SCSS
$custom: #313205;
$custom-light: #6b694a;
$custom-dark: #000000;
JSON
{
  "hex": "#313205",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 5
  },
  "hsl": {
    "h": 61.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30641,
    "c": 0.06247,
    "h": 110.9
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#313205
secondary
#211F73
accent
#30F834
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313205

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

Preview Lab → · Contrast checker → · Palette generator →

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