#393F04#393F04

#393F04 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.077 H 115.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#393F04
RGBrgb(57, 63, 4)
HSLhsl(66, 88%, 13%)
HSVhsv(66, 94%, 25%)
CMYKcmyk(9.5%, 0%, 93.7%, 75.3%)
CIE-LABlab(25.06, -10.83, 31.95)
CIE-LCHlch(25.06, 33.73, 108.72°)
OKLaboklab(35.02% -0.0334 0.0692)
OKLCHoklch(35.02% 0.077 115.8)
XYZxyz(3.4869, 4.4337, 0.7869)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F04 #0A043F
analogous
#3F2704 #393F04 #1B3F04
triadic
#393F04 #04393F #3F0439
tetradic
#393F04 #043F27 #0A043F #3F041B
square
#393F04 #043F27 #0A043F #3F041B
split-complementary
#393F04 #041B3F #27043F
monochromatic
#1A1D02 #1A1D02 #393F04 #6D7908 #A1B20B

Accessibility & contrast

On white

11.13
#393F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393F04
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F04#FFFFFF#000000##FFFFFF
##393F041.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#3D3B34
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #393f04;
/* rgb */ color: rgb(57, 63, 4);
/* oklch */ color: oklch(35.0% 0.077 115.8);
Tailwind
colors: {
  custom: {
    50: '#72734b',
    500: '#393f04',
    950: '#000000',
  },
}
SCSS
$custom: #393f04;
$custom-light: #72734b;
$custom-dark: #000000;
JSON
{
  "hex": "#393f04",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 66.102,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.0768,
    "h": 115.8
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#393F04
secondary
#281E80
accent
#2AFE3F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #393F04

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

Preview Lab → · Contrast checker → · Palette generator →

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