#393D08#393D08

#393D08 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.5% C 0.071 H 114.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#393D08
RGBrgb(57, 61, 8)
HSLhsl(65, 77%, 14%)
HSVhsv(65, 87%, 24%)
CMYKcmyk(6.6%, 0%, 86.9%, 76.1%)
CIE-LABlab(24.40, -9.40, 29.68)
CIE-LCHlch(24.40, 31.14, 107.57°)
OKLaboklab(34.51% -0.029 0.0652)
OKLCHoklch(34.51% 0.071 114)
XYZxyz(3.4000, 4.2249, 0.8661)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D08 #0C083D
analogous
#3D2608 #393D08 #1E3D08
triadic
#393D08 #08393D #3D0839
tetradic
#393D08 #083D26 #0C083D #3D081E
square
#393D08 #083D26 #0C083D #3D081E
split-complementary
#393D08 #081E3D #26083D
monochromatic
#191B04 #191B04 #393D08 #6C730F #9EA916

Accessibility & contrast

On white

11.38
#393D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#393D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D08
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D08#FFFFFF#000000##FFFFFF
##393D081.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A00
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#3D3933
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #393d08;
/* rgb */ color: rgb(57, 61, 8);
/* oklch */ color: oklch(34.5% 0.071 114.0);
Tailwind
colors: {
  custom: {
    50: '#72724c',
    500: '#393d08',
    950: '#000000',
  },
}
SCSS
$custom: #393d08;
$custom-light: #72724c;
$custom-dark: #000000;
JSON
{
  "hex": "#393d08",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 64.528,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.07134,
    "h": 114
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#393D08
secondary
#2C257C
accent
#34F343
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #393D08

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

Preview Lab → · Contrast checker → · Palette generator →

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