#393A04#393A04

#393A04 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.7% C 0.071 H 110.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#393A04
RGBrgb(57, 58, 4)
HSLhsl(61, 87%, 12%)
HSVhsv(61, 93%, 23%)
CMYKcmyk(1.7%, 0%, 93.1%, 77.3%)
CIE-LABlab(23.35, -7.80, 30.27)
CIE-LCHlch(23.35, 31.26, 104.46°)
OKLaboklab(33.66% -0.0251 0.066)
OKLCHoklch(33.66% 0.071 110.8)
XYZxyz(3.2224, 3.9048, 0.6988)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A04 #05043A
analogous
#3A2004 #393A04 #1E3A04
triadic
#393A04 #04393A #3A0439
tetradic
#393A04 #043A20 #05043A #3A041E
square
#393A04 #043A20 #05043A #3A041E
split-complementary
#393A04 #041E3A #20043A
monochromatic
#1C1D02 #1C1D02 #393A04 #717308 #AAAD0C

Accessibility & contrast

On white

11.79
#393A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#393A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A04
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A04#FFFFFF#000000##FFFFFF
##393A041.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#403808
Tritanopia (blue-blind)
#3E3630
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #393a04;
/* rgb */ color: rgb(57, 58, 4);
/* oklch */ color: oklch(33.7% 0.071 110.8);
Tailwind
colors: {
  custom: {
    50: '#726f4a',
    500: '#393a04',
    950: '#000000',
  },
}
SCSS
$custom: #393a04;
$custom-light: #726f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#393a04",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 61.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.07063,
    "h": 110.8
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#393A04
secondary
#201E7C
accent
#2BFD2E
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #393A04

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

Preview Lab → · Contrast checker → · Palette generator →

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