#313019#313019

#313019 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.4% C 0.038 H 106.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#313019
RGBrgb(49, 48, 25)
HSLhsl(58, 32%, 15%)
HSVhsv(58, 49%, 19%)
CMYKcmyk(0%, 2%, 49%, 80.8%)
CIE-LABlab(19.38, -3.82, 14.88)
CIE-LCHlch(19.38, 15.36, 104.39°)
OKLaboklab(30.37% -0.0105 0.0361)
OKLCHoklch(30.37% 0.038 106.3)
XYZxyz(2.4991, 2.8371, 1.3355)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313019 #191A31
analogous
#312419 #313019 #263119
triadic
#313019 #193130 #301931
tetradic
#313019 #193124 #191A31 #311926
square
#313019 #193124 #191A31 #311926
split-complementary
#313019 #192631 #241931
monochromatic
#14140A #14140A #313019 #5A582E #827F42

Accessibility & contrast

On white

13.40
#313019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313019
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313019#FFFFFF#000000##FFFFFF
##3130191.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313019;
/* rgb */ color: rgb(49, 48, 25);
/* oklch */ color: oklch(30.4% 0.038 106.3);
Tailwind
colors: {
  custom: {
    50: '#696856',
    500: '#313019',
    950: '#000000',
  },
}
SCSS
$custom: #313019;
$custom-light: #696856;
$custom-dark: #000000;
JSON
{
  "hex": "#313019",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 25
  },
  "hsl": {
    "h": 57.5,
    "s": 32.432,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.03764,
    "h": 106.3
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#313019
secondary
#404266
accent
#64C95F
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #313019

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

Preview Lab → · Contrast checker → · Palette generator →

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