#313206#313206

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

Color values

HEX#313206
RGBrgb(49, 50, 6)
HSLhsl(61, 79%, 11%)
HSVhsv(61, 88%, 20%)
CMYKcmyk(2%, 0%, 88%, 80.4%)
CIE-LABlab(19.83, -6.95, 25.43)
CIE-LCHlch(19.83, 26.36, 105.28°)
OKLaboklab(30.65% -0.0219 0.0575)
OKLCHoklch(30.65% 0.062 110.8)
XYZxyz(2.4402, 2.9474, 0.6126)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313206 #070632
analogous
#321D06 #313206 #1B3206
triadic
#313206 #063132 #320631
tetradic
#313206 #06321D #070632 #32061B
square
#313206 #06321D #070632 #32061B
split-complementary
#313206 #061B32 #1D0632
monochromatic
#1B1B03 #1B1B03 #313206 #67690D #9C9F13

Accessibility & contrast

On white

13.21
#313206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313206
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313206#FFFFFF#000000##FFFFFF
##3132061.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F01
Deuteranopia (green-blind)
#373109
Tritanopia (blue-blind)
#352E2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313206;
/* rgb */ color: rgb(49, 50, 6);
/* oklch */ color: oklch(30.7% 0.062 110.8);
Tailwind
colors: {
  custom: {
    50: '#6b694a',
    500: '#313206',
    950: '#000000',
  },
}
SCSS
$custom: #313206;
$custom-light: #6b694a;
$custom-dark: #000000;
JSON
{
  "hex": "#313206",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 6
  },
  "hsl": {
    "h": 61.364,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30651,
    "c": 0.06154,
    "h": 110.8
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#313206
secondary
#232173
accent
#33F537
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #313206

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

Preview Lab → · Contrast checker → · Palette generator →

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