#393312#393312

#393312 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.050 H 99.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#393312
RGBrgb(57, 51, 18)
HSLhsl(51, 52%, 15%)
HSVhsv(51, 68%, 22%)
CMYKcmyk(0%, 10.5%, 68.4%, 77.6%)
CIE-LABlab(21.14, -2.40, 21.48)
CIE-LCHlch(21.14, 21.61, 96.38°)
OKLaboklab(31.93% -0.008 0.0497)
OKLCHoklch(31.93% 0.05 99.1)
XYZxyz(2.9805, 3.2813, 1.0485)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393312 #121839
analogous
#392012 #393312 #2C3912
triadic
#393312 #123933 #331239
tetradic
#393312 #123920 #121839 #39122C
square
#393312 #123920 #121839 #39122C
split-complementary
#393312 #122C39 #201239
monochromatic
#171507 #171507 #393312 #685D21 #96862F

Accessibility & contrast

On white

12.68
#393312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#393312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393312
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393312#FFFFFF#000000##FFFFFF
##3933121.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320F
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#3E2F2C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #393312;
/* rgb */ color: rgb(57, 51, 18);
/* oklch */ color: oklch(31.9% 0.050 99.1);
Tailwind
colors: {
  custom: {
    50: '#716a51',
    500: '#393312',
    950: '#000000',
  },
}
SCSS
$custom: #393312;
$custom-light: #716a51;
$custom-dark: #000000;
JSON
{
  "hex": "#393312",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 50.769,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31933,
    "c": 0.05033,
    "h": 99.1
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#393312
secondary
#353E72
accent
#62DB4C
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #393312

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

Preview Lab → · Contrast checker → · Palette generator →

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