#393F0B#393F0B

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

Color values

HEX#393F0B
RGBrgb(57, 63, 11)
HSLhsl(67, 70%, 15%)
HSVhsv(67, 83%, 25%)
CMYKcmyk(9.5%, 0%, 82.5%, 75.3%)
CIE-LABlab(25.10, -10.43, 29.13)
CIE-LCHlch(25.10, 30.94, 109.69°)
OKLaboklab(35.08% -0.0315 0.0646)
OKLCHoklch(35.08% 0.072 116)
XYZxyz(3.5253, 4.4491, 0.9896)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F0B #110B3F
analogous
#3F2B0B #393F0B #1F3F0B
triadic
#393F0B #0B393F #3F0B39
tetradic
#393F0B #0B3F2B #110B3F #3F0B1F
square
#393F0B #0B3F2B #110B3F #3F0B1F
split-complementary
#393F0B #0B1F3F #2B0B3F
monochromatic
#181A05 #181A05 #393F0B #687314 #97A71D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##393F0B#FFFFFF#000000##FFFFFF
##393F0B1.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)
#443B03
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#3D3B35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #393f0b;
/* rgb */ color: rgb(57, 63, 11);
/* oklch */ color: oklch(35.1% 0.072 116.0);
Tailwind
colors: {
  custom: {
    50: '#71734e',
    500: '#393f0b',
    950: '#000000',
  },
}
SCSS
$custom: #393f0b;
$custom-light: #71734e;
$custom-dark: #000000;
JSON
{
  "hex": "#393f0b",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 66.923,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35077,
    "c": 0.07185,
    "h": 116
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#393F0B
secondary
#342A7C
accent
#3BED4F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #393F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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