#39400C#39400C

#39400C is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.4% C 0.072 H 117.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#39400C
RGBrgb(57, 64, 12)
HSLhsl(68, 68%, 15%)
HSVhsv(68, 81%, 25%)
CMYKcmyk(10.9%, 0%, 81.2%, 74.9%)
CIE-LABlab(25.45, -10.96, 29.04)
CIE-LCHlch(25.45, 31.04, 110.67°)
OKLaboklab(35.36% -0.0329 0.0646)
OKLCHoklch(35.36% 0.072 117)
XYZxyz(3.5872, 4.5632, 1.0396)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39400C #130C40
analogous
#402D0C #39400C #1F400C
triadic
#39400C #0C3940 #400C39
tetradic
#39400C #0C402D #130C40 #400C1F
square
#39400C #0C402D #130C40 #400C1F
split-complementary
#39400C #0C1F40 #2D0C40
monochromatic
#171A05 #171A05 #39400C #677416 #95A71F

Accessibility & contrast

On white

10.98
#39400C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#39400C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39400C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39400C#FFFFFF#000000##FFFFFF
##39400C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C04
Deuteranopia (green-blind)
#443D10
Tritanopia (blue-blind)
#3D3C36
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39400c;
/* rgb */ color: rgb(57, 64, 12);
/* oklch */ color: oklch(35.4% 0.072 117.0);
Tailwind
colors: {
  custom: {
    50: '#71744f',
    500: '#39400c',
    950: '#000000',
  },
}
SCSS
$custom: #39400c;
$custom-light: #71744f;
$custom-dark: #000000;
JSON
{
  "hex": "#39400c",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 68.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.07247,
    "h": 117
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#39400C
secondary
#372C7C
accent
#3DEB54
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #39400C

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

Preview Lab → · Contrast checker → · Palette generator →

#39400C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva