#313015#313015

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

Color values

HEX#313015
RGBrgb(49, 48, 21)
HSLhsl(58, 40%, 14%)
HSVhsv(58, 57%, 19%)
CMYKcmyk(0%, 2%, 57.1%, 80.8%)
CIE-LABlab(19.31, -4.33, 17.33)
CIE-LCHlch(19.31, 17.86, 104.03°)
OKLaboklab(30.29% -0.0125 0.0413)
OKLCHoklch(30.29% 0.043 106.8)
XYZxyz(2.4590, 2.8211, 1.1243)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313015 #151631
analogous
#312215 #313015 #243115
triadic
#313015 #153130 #301531
tetradic
#313015 #153122 #151631 #311524
square
#313015 #153122 #151631 #311524
split-complementary
#313015 #152431 #221531
monochromatic
#151509 #151509 #313015 #5C5A27 #87843A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313015#FFFFFF#000000##FFFFFF
##3130151.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)
#342E13
Deuteranopia (green-blind)
#352F16
Tritanopia (blue-blind)
#342D2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #313015;
/* rgb */ color: rgb(49, 48, 21);
/* oklch */ color: oklch(30.3% 0.043 106.8);
Tailwind
colors: {
  custom: {
    50: '#6a6853',
    500: '#313015',
    950: '#000000',
  },
}
SCSS
$custom: #313015;
$custom-light: #6a6853;
$custom-dark: #000000;
JSON
{
  "hex": "#313015",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 21
  },
  "hsl": {
    "h": 57.857,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30291,
    "c": 0.04312,
    "h": 106.8
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#313015
secondary
#3A3C68
accent
#5CD058
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #313015

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

Preview Lab → · Contrast checker → · Palette generator →

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