#393B04#393B04

#393B04 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 33.9% C 0.072 H 111.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#393B04
RGBrgb(57, 59, 4)
HSLhsl(62, 87%, 12%)
HSVhsv(62, 93%, 23%)
CMYKcmyk(3.4%, 0%, 93.2%, 76.9%)
CIE-LABlab(23.69, -8.42, 30.61)
CIE-LCHlch(23.69, 31.75, 105.37°)
OKLaboklab(33.93% -0.0267 0.0667)
OKLCHoklch(33.93% 0.072 111.9)
XYZxyz(3.2733, 4.0066, 0.7158)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393B04 #06043B
analogous
#3B2204 #393B04 #1D3B04
triadic
#393B04 #04393B #3B0439
tetradic
#393B04 #043B22 #06043B #3B041D
square
#393B04 #043B22 #06043B #3B041D
split-complementary
#393B04 #041D3B #22043B
monochromatic
#1C1D02 #1C1D02 #393B04 #707408 #A8AE0C

Accessibility & contrast

On white

11.66
#393B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#393B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393B04
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393B04#FFFFFF#000000##FFFFFF
##393B041.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#413908
Tritanopia (blue-blind)
#3E3731
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #393b04;
/* rgb */ color: rgb(57, 59, 4);
/* oklch */ color: oklch(33.9% 0.072 111.9);
Tailwind
colors: {
  custom: {
    50: '#72704a',
    500: '#393b04',
    950: '#000000',
  },
}
SCSS
$custom: #393b04;
$custom-light: #72704a;
$custom-dark: #000000;
JSON
{
  "hex": "#393b04",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 62.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33931,
    "c": 0.07184,
    "h": 111.9
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#393B04
secondary
#221E7D
accent
#2AFD32
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #393B04

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

Preview Lab → · Contrast checker → · Palette generator →

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