#313129#313129

#313129 is a dark, near-neutral yellow. Relative luminance 0.030; OKLCH L 31.0% C 0.014 H 107.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#313129
RGBrgb(49, 49, 41)
HSLhsl(60, 9%, 18%)
HSVhsv(60, 16%, 19%)
CMYKcmyk(0%, 0%, 16.3%, 80.8%)
CIE-LABlab(20.08, -1.75, 5.12)
CIE-LCHlch(20.08, 5.41, 108.88°)
OKLaboklab(31.04% -0.0041 0.0132)
OKLCHoklch(31.04% 0.014 107.2)
XYZxyz(2.7651, 3.0097, 2.5327)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313129 #292931
analogous
#312D29 #313129 #2D3129
triadic
#313129 #293131 #312931
tetradic
#313129 #29312D #292931 #31292D
square
#313129 #29312D #292931 #31292D
split-complementary
#313129 #292D31 #2D2931
monochromatic
#11110E #11110E #313129 #525245 #747461

Accessibility & contrast

On white

13.11
#313129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313129
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313129#FFFFFF#000000##FFFFFF
##3131291.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323029
Deuteranopia (green-blind)
#333129
Tritanopia (blue-blind)
#32302F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #313129;
/* rgb */ color: rgb(49, 49, 41);
/* oklch */ color: oklch(31.0% 0.014 107.2);
Tailwind
colors: {
  custom: {
    50: '#696962',
    500: '#313129',
    950: '#000000',
  },
}
SCSS
$custom: #313129;
$custom-light: #696962;
$custom-dark: #000000;
JSON
{
  "hex": "#313129",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 8.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.31043,
    "c": 0.01386,
    "h": 107.2
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#313129
secondary
#555561
accent
#76B276
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #313129

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

Preview Lab → · Contrast checker → · Palette generator →

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