#313611#313611

#313611 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.057 H 116.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#313611
RGBrgb(49, 54, 17)
HSLhsl(68, 52%, 14%)
HSVhsv(68, 69%, 21%)
CMYKcmyk(9.3%, 0%, 68.5%, 78.8%)
CIE-LABlab(21.33, -8.57, 22.03)
CIE-LCHlch(21.33, 23.64, 111.26°)
OKLaboklab(31.88% -0.025 0.0509)
OKLCHoklch(31.88% 0.057 116.2)
XYZxyz(2.6870, 3.3318, 1.0318)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313611 #161136
analogous
#362911 #313611 #1F3611
triadic
#313611 #113136 #361131
tetradic
#313611 #113629 #161136 #36111F
square
#313611 #113629 #161136 #36111F
split-complementary
#313611 #111F36 #291136
monochromatic
#151707 #151707 #313611 #5B6520 #85932E

Accessibility & contrast

On white

12.60
#313611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#313611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313611
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313611#FFFFFF#000000##FFFFFF
##3136111.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330D
Deuteranopia (green-blind)
#3A3313
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313611;
/* rgb */ color: rgb(49, 54, 17);
/* oklch */ color: oklch(31.9% 0.057 116.2);
Tailwind
colors: {
  custom: {
    50: '#6a6c50',
    500: '#313611',
    950: '#000000',
  },
}
SCSS
$custom: #313611;
$custom-light: #6a6c50;
$custom-dark: #000000;
JSON
{
  "hex": "#313611",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 17
  },
  "hsl": {
    "h": 68.108,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31882,
    "c": 0.05675,
    "h": 116.2
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#313611
secondary
#3C346F
accent
#4CDC60
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313611

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

Preview Lab → · Contrast checker → · Palette generator →

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