#393F0C#393F0C

#393F0C is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.1% C 0.071 H 116.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#393F0C
RGBrgb(57, 63, 12)
HSLhsl(67, 68%, 15%)
HSVhsv(67, 81%, 25%)
CMYKcmyk(9.5%, 0%, 81%, 75.3%)
CIE-LABlab(25.11, -10.36, 28.71)
CIE-LCHlch(25.11, 30.52, 109.85°)
OKLaboklab(35.09% -0.0312 0.0639)
OKLCHoklch(35.09% 0.071 116)
XYZxyz(3.5313, 4.4515, 1.0209)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F0C #120C3F
analogous
#3F2C0C #393F0C #203F0C
triadic
#393F0C #0C393F #3F0C39
tetradic
#393F0C #0C3F2C #120C3F #3F0C20
square
#393F0C #0C3F2C #120C3F #3F0C20
split-complementary
#393F0C #0C203F #2C0C3F
monochromatic
#171A05 #171A05 #393F0C #687216 #96A620

Accessibility & contrast

On white

11.11
#393F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#393F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F0C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F0C#FFFFFF#000000##FFFFFF
##393F0C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B04
Deuteranopia (green-blind)
#443C10
Tritanopia (blue-blind)
#3D3B35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #393f0c;
/* rgb */ color: rgb(57, 63, 12);
/* oklch */ color: oklch(35.1% 0.071 116.0);
Tailwind
colors: {
  custom: {
    50: '#71734f',
    500: '#393f0c',
    950: '#000000',
  },
}
SCSS
$custom: #393f0c;
$custom-light: #71734f;
$custom-dark: #000000;
JSON
{
  "hex": "#393f0c",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35085,
    "c": 0.07111,
    "h": 116
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#393F0C
secondary
#352C7B
accent
#3DEB51
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #393F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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