#313229#313229

#313229 is a dark, near-neutral yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.016 H 112.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#313229
RGBrgb(49, 50, 41)
HSLhsl(67, 10%, 18%)
HSVhsv(67, 18%, 20%)
CMYKcmyk(2%, 0%, 18%, 80.4%)
CIE-LABlab(20.42, -2.41, 5.59)
CIE-LCHlch(20.42, 6.09, 113.35°)
OKLaboklab(31.31% -0.006 0.0144)
OKLCHoklch(31.31% 0.016 112.4)
XYZxyz(2.8074, 3.0943, 2.5467)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313229 #2A2932
analogous
#322E29 #313229 #2C3229
triadic
#313229 #293132 #322931
tetradic
#313229 #29322E #2A2932 #32292C
square
#313229 #29322E #2A2932 #32292C
split-complementary
#313229 #292C32 #2E2932
monochromatic
#10110E #10110E #313229 #525445 #737560

Accessibility & contrast

On white

12.97
#313229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#313229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313229
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313229#FFFFFF#000000##FFFFFF
##3132291.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333128
Deuteranopia (green-blind)
#333129
Tritanopia (blue-blind)
#32312F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313229;
/* rgb */ color: rgb(49, 50, 41);
/* oklch */ color: oklch(31.3% 0.016 112.4);
Tailwind
colors: {
  custom: {
    50: '#696962',
    500: '#313229',
    950: '#000000',
  },
}
SCSS
$custom: #313229;
$custom-light: #696962;
$custom-dark: #000000;
JSON
{
  "hex": "#313229",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 41
  },
  "hsl": {
    "h": 66.667,
    "s": 9.89,
    "l": 17.843
  },
  "oklch": {
    "l": 0.31308,
    "c": 0.01561,
    "h": 112.4
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#313229
secondary
#565562
accent
#75B37C
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#060605
muted
#7A7A79

Preview Lab

Preview with #313229

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

Preview Lab → · Contrast checker → · Palette generator →

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