#313208#313208

#313208 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.060 H 110.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#313208
RGBrgb(49, 50, 8)
HSLhsl(61, 72%, 11%)
HSVhsv(61, 84%, 20%)
CMYKcmyk(2%, 0%, 84%, 80.4%)
CIE-LABlab(19.85, -6.80, 24.64)
CIE-LCHlch(19.85, 25.56, 105.44°)
OKLaboklab(30.67% -0.0212 0.0558)
OKLCHoklch(30.67% 0.06 110.8)
XYZxyz(2.4511, 2.9518, 0.6703)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313208 #090832
analogous
#321E08 #313208 #1C3208
triadic
#313208 #083132 #320831
tetradic
#313208 #08321E #090832 #32081C
square
#313208 #08321E #090832 #32081C
split-complementary
#313208 #081C32 #1E0832
monochromatic
#1A1A04 #1A1A04 #313208 #656710 #989C19

Accessibility & contrast

On white

13.20
#313208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313208
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313208#FFFFFF#000000##FFFFFF
##3132081.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F03
Deuteranopia (green-blind)
#37310B
Tritanopia (blue-blind)
#352E2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313208;
/* rgb */ color: rgb(49, 50, 8);
/* oklch */ color: oklch(30.7% 0.060 110.8);
Tailwind
colors: {
  custom: {
    50: '#6b694b',
    500: '#313208',
    950: '#000000',
  },
}
SCSS
$custom: #313208;
$custom-light: #6b694b;
$custom-dark: #000000;
JSON
{
  "hex": "#313208",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 8
  },
  "hsl": {
    "h": 61.429,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30671,
    "c": 0.05974,
    "h": 110.8
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#313208
secondary
#272571
accent
#39EF3D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313208

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

Preview Lab → · Contrast checker → · Palette generator →

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