#394012#394012

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

Color values

HEX#394012
RGBrgb(57, 64, 18)
HSLhsl(69, 56%, 16%)
HSVhsv(69, 72%, 25%)
CMYKcmyk(10.9%, 0%, 71.9%, 74.9%)
CIE-LABlab(25.50, -10.52, 26.26)
CIE-LCHlch(25.50, 28.29, 111.82°)
OKLaboklab(35.42% -0.0309 0.0599)
OKLCHoklch(35.42% 0.067 117.3)
XYZxyz(3.6300, 4.5804, 1.2650)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394012 #191240
analogous
#403012 #394012 #224012
triadic
#394012 #123940 #401239
tetradic
#394012 #124030 #191240 #401222
square
#394012 #124030 #191240 #401222
split-complementary
#394012 #122240 #301240
monochromatic
#151807 #151807 #394012 #64701F #8EA02D

Accessibility & contrast

On white

10.96
#394012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#394012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394012
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394012#FFFFFF#000000##FFFFFF
##3940121.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394012;
/* rgb */ color: rgb(57, 64, 18);
/* oklch */ color: oklch(35.4% 0.067 117.3);
Tailwind
colors: {
  custom: {
    50: '#717452',
    500: '#394012',
    950: '#000000',
  },
}
SCSS
$custom: #394012;
$custom-light: #717452;
$custom-dark: #000000;
JSON
{
  "hex": "#394012",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 69.13,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.06738,
    "h": 117.3
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#394012
secondary
#3F3579
accent
#48DF5F
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #394012

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

Preview Lab → · Contrast checker → · Palette generator →

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