#393D12#393D12

#393D12 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.6% C 0.063 H 114.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#393D12
RGBrgb(57, 61, 18)
HSLhsl(66, 54%, 15%)
HSVhsv(66, 70%, 24%)
CMYKcmyk(6.6%, 0%, 70.5%, 76.1%)
CIE-LABlab(24.48, -8.71, 25.17)
CIE-LCHlch(24.48, 26.63, 109.09°)
OKLaboklab(34.6% -0.0259 0.0576)
OKLCHoklch(34.6% 0.063 114.2)
XYZxyz(3.4653, 4.2511, 1.2101)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D12 #16123D
analogous
#3D2B12 #393D12 #233D12
triadic
#393D12 #12393D #3D1239
tetradic
#393D12 #123D2B #16123D #3D1223
square
#393D12 #123D2B #16123D #3D1223
split-complementary
#393D12 #12233D #2B123D
monochromatic
#161807 #161807 #393D12 #656C20 #919C2E

Accessibility & contrast

On white

11.35
#393D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#393D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D12
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D12#FFFFFF#000000##FFFFFF
##393D121.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#3D3934
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #393d12;
/* rgb */ color: rgb(57, 61, 18);
/* oklch */ color: oklch(34.6% 0.063 114.2);
Tailwind
colors: {
  custom: {
    50: '#717252',
    500: '#393d12',
    950: '#000000',
  },
}
SCSS
$custom: #393d12;
$custom-light: #717252;
$custom-dark: #000000;
JSON
{
  "hex": "#393d12",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 65.581,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.346,
    "c": 0.0631,
    "h": 114.2
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#393D12
secondary
#3B3576
accent
#4ADE58
background
#F6F6F4
surface
#ECECE7
border
#C7C7C3
text
#080702
muted
#7B7A78

Preview Lab

Preview with #393D12

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

Preview Lab → · Contrast checker → · Palette generator →

#393D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva