#313110#313110

#313110 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.051 H 109.1°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#313110
RGBrgb(49, 49, 16)
HSLhsl(60, 51%, 13%)
HSVhsv(60, 67%, 19%)
CMYKcmyk(0%, 0%, 67.3%, 80.8%)
CIE-LABlab(19.59, -5.52, 20.64)
CIE-LCHlch(19.59, 21.36, 104.97°)
OKLaboklab(30.49% -0.0165 0.0478)
OKLCHoklch(30.49% 0.051 109.1)
XYZxyz(2.4585, 2.8871, 0.9179)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313110 #101031
analogous
#312010 #313110 #203110
triadic
#313110 #103131 #311031
tetradic
#313110 #103120 #101031 #311020
square
#313110 #103120 #101031 #311020
split-complementary
#313110 #102031 #201031
monochromatic
#171708 #171708 #313110 #5F5F1F #8D8D2E

Accessibility & contrast

On white

13.31
#313110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#313110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313110
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313110#FFFFFF#000000##FFFFFF
##3131101.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0D
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#352E2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313110;
/* rgb */ color: rgb(49, 49, 16);
/* oklch */ color: oklch(30.5% 0.051 109.1);
Tailwind
colors: {
  custom: {
    50: '#6a684f',
    500: '#313110',
    950: '#000000',
  },
}
SCSS
$custom: #313110;
$custom-light: #6a684f;
$custom-dark: #000000;
JSON
{
  "hex": "#313110",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30487,
    "c": 0.05061,
    "h": 109.1
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#313110
secondary
#33336A
accent
#4EDA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313110

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

Preview Lab → · Contrast checker → · Palette generator →

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