#313310#313310

#313310 is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.0% C 0.053 H 112.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#313310
RGBrgb(49, 51, 16)
HSLhsl(63, 52%, 13%)
HSVhsv(63, 69%, 20%)
CMYKcmyk(3.9%, 0%, 68.6%, 80%)
CIE-LABlab(20.28, -6.79, 21.42)
CIE-LCHlch(20.28, 22.47, 107.60°)
OKLaboklab(31.04% -0.0201 0.0495)
OKLCHoklch(31.04% 0.053 112.1)
XYZxyz(2.5440, 3.0581, 0.9464)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313310 #121033
analogous
#332310 #313310 #1F3310
triadic
#313310 #103133 #331031
tetradic
#313310 #103323 #121033 #33101F
square
#313310 #103323 #121033 #33101F
split-complementary
#313310 #101F33 #231033
monochromatic
#161707 #161707 #313310 #5E621F #8B902D

Accessibility & contrast

On white

13.03
#313310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#313310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313310
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313310#FFFFFF#000000##FFFFFF
##3133101.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300C
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#35302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313310;
/* rgb */ color: rgb(49, 51, 16);
/* oklch */ color: oklch(31.0% 0.053 112.1);
Tailwind
colors: {
  custom: {
    50: '#6a6a4f',
    500: '#313310',
    950: '#000000',
  },
}
SCSS
$custom: #313310;
$custom-light: #6a6a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#313310",
  "rgb": {
    "r": 49,
    "g": 51,
    "b": 16
  },
  "hsl": {
    "h": 63.429,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31037,
    "c": 0.05342,
    "h": 112.1
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#313310
secondary
#36326C
accent
#4CDC54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313310

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

Preview Lab → · Contrast checker → · Palette generator →

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