#313016#313016

#313016 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.3% C 0.042 H 106.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#313016
RGBrgb(49, 48, 22)
HSLhsl(58, 38%, 14%)
HSVhsv(58, 55%, 19%)
CMYKcmyk(0%, 2%, 55.1%, 80.8%)
CIE-LABlab(19.33, -4.21, 16.73)
CIE-LCHlch(19.33, 17.25, 104.13°)
OKLaboklab(30.31% -0.012 0.04)
OKLCHoklch(30.31% 0.042 106.7)
XYZxyz(2.4684, 2.8249, 1.1741)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313016 #161731
analogous
#312316 #313016 #253116
triadic
#313016 #163130 #301631
tetradic
#313016 #163123 #161731 #311625
square
#313016 #163123 #161731 #311625
split-complementary
#313016 #162531 #231631
monochromatic
#151509 #151509 #313016 #5B5929 #85833C

Accessibility & contrast

On white

13.42
#313016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#313016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313016
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313016#FFFFFF#000000##FFFFFF
##3130161.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E14
Deuteranopia (green-blind)
#342F17
Tritanopia (blue-blind)
#342D2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313016;
/* rgb */ color: rgb(49, 48, 22);
/* oklch */ color: oklch(30.3% 0.042 106.7);
Tailwind
colors: {
  custom: {
    50: '#6a6853',
    500: '#313016',
    950: '#000000',
  },
}
SCSS
$custom: #313016;
$custom-light: #6a6853;
$custom-dark: #000000;
JSON
{
  "hex": "#313016",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 22
  },
  "hsl": {
    "h": 57.778,
    "s": 38.028,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.04178,
    "h": 106.7
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#313016
secondary
#3C3D67
accent
#5ECE5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313016

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

Preview Lab → · Contrast checker → · Palette generator →

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