#313124#313124

#313124 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.022 H 107.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#313124
RGBrgb(49, 49, 36)
HSLhsl(60, 15%, 17%)
HSVhsv(60, 27%, 19%)
CMYKcmyk(0%, 0%, 26.5%, 80.8%)
CIE-LABlab(19.95, -2.72, 8.33)
CIE-LCHlch(19.95, 8.76, 108.05°)
OKLaboklab(30.9% -0.0067 0.0212)
OKLCHoklch(30.9% 0.022 107.6)
XYZxyz(2.6834, 2.9770, 2.1020)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313124 #242431
analogous
#312B24 #313124 #2B3124
triadic
#313124 #243131 #312431
tetradic
#313124 #24312B #242431 #31242B
square
#313124 #24312B #242431 #31242B
split-complementary
#313124 #242B31 #2B2431
monochromatic
#12120D #12120D #313124 #54543E #787858

Accessibility & contrast

On white

13.16
#313124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#313124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313124
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313124#FFFFFF#000000##FFFFFF
##3131241.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333023
Deuteranopia (green-blind)
#333024
Tritanopia (blue-blind)
#332F2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313124;
/* rgb */ color: rgb(49, 49, 36);
/* oklch */ color: oklch(30.9% 0.022 107.6);
Tailwind
colors: {
  custom: {
    50: '#69695e',
    500: '#313124',
    950: '#000000',
  },
}
SCSS
$custom: #313124;
$custom-light: #69695e;
$custom-dark: #000000;
JSON
{
  "hex": "#313124",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 15.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.02221,
    "h": 107.6
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#313124
secondary
#4F4F62
accent
#70B870
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #313124

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

Preview Lab → · Contrast checker → · Palette generator →

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