#394004#394004

#394004 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.078 H 116.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#394004
RGBrgb(57, 64, 4)
HSLhsl(67, 88%, 13%)
HSVhsv(67, 94%, 25%)
CMYKcmyk(10.9%, 0%, 93.8%, 74.9%)
CIE-LABlab(25.40, -11.42, 32.27)
CIE-LCHlch(25.40, 34.23, 109.49°)
OKLaboklab(35.3% -0.035 0.0698)
OKLCHoklch(35.3% 0.078 116.6)
XYZxyz(3.5428, 4.5455, 0.8056)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394004 #0B0440
analogous
#402904 #394004 #1B4004
triadic
#394004 #043940 #400439
tetradic
#394004 #044029 #0B0440 #40041B
square
#394004 #044029 #0B0440 #40041B
split-complementary
#394004 #041B40 #290440
monochromatic
#1A1D02 #1A1D02 #394004 #6C7A08 #A0B30B

Accessibility & contrast

On white

11.00
#394004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#394004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394004
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394004#FFFFFF#000000##FFFFFF
##3940041.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#453D0A
Tritanopia (blue-blind)
#3D3C35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #394004;
/* rgb */ color: rgb(57, 64, 4);
/* oklch */ color: oklch(35.3% 0.078 116.6);
Tailwind
colors: {
  custom: {
    50: '#72744b',
    500: '#394004',
    950: '#000000',
  },
}
SCSS
$custom: #394004;
$custom-light: #72744b;
$custom-dark: #000000;
JSON
{
  "hex": "#394004",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 67,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.07807,
    "h": 116.6
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#394004
secondary
#2A1F81
accent
#29FE42
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080801
muted
#7B7B77

Preview Lab

Preview with #394004

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

Preview Lab → · Contrast checker → · Palette generator →

#394004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva