#313014#313014

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

Color values

HEX#313014
RGBrgb(49, 48, 20)
HSLhsl(58, 42%, 14%)
HSVhsv(58, 59%, 19%)
CMYKcmyk(0%, 2%, 59.2%, 80.8%)
CIE-LABlab(19.30, -4.45, 17.93)
CIE-LCHlch(19.30, 18.47, 103.92°)
OKLaboklab(30.27% -0.0129 0.0425)
OKLCHoklch(30.27% 0.044 106.9)
XYZxyz(2.4499, 2.8174, 1.0765)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313014 #141531
analogous
#312114 #313014 #233114
triadic
#313014 #143130 #301431
tetradic
#313014 #143121 #141531 #311423
square
#313014 #143121 #141531 #311423
split-complementary
#313014 #142331 #211431
monochromatic
#161509 #161509 #313014 #5C5B26 #888537

Accessibility & contrast

On white

13.43
#313014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#313014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313014
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313014#FFFFFF#000000##FFFFFF
##3130141.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E11
Deuteranopia (green-blind)
#352F15
Tritanopia (blue-blind)
#352D2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313014;
/* rgb */ color: rgb(49, 48, 20);
/* oklch */ color: oklch(30.3% 0.044 106.9);
Tailwind
colors: {
  custom: {
    50: '#6a6852',
    500: '#313014',
    950: '#000000',
  },
}
SCSS
$custom: #313014;
$custom-light: #6a6852;
$custom-dark: #000000;
JSON
{
  "hex": "#313014",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 20
  },
  "hsl": {
    "h": 57.931,
    "s": 42.029,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30274,
    "c": 0.04441,
    "h": 106.9
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#313014
secondary
#393A68
accent
#5AD256
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313014

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

Preview Lab → · Contrast checker → · Palette generator →

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