#3A3404#3A3404

#3A3404 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.2% C 0.064 H 101.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#3A3404
RGBrgb(58, 52, 4)
HSLhsl(53, 87%, 12%)
HSVhsv(53, 93%, 23%)
CMYKcmyk(0%, 10.3%, 93.1%, 77.3%)
CIE-LABlab(21.45, -3.49, 28.30)
CIE-LCHlch(21.45, 28.52, 97.02°)
OKLaboklab(32.16% -0.0131 0.0626)
OKLCHoklch(32.16% 0.064 101.8)
XYZxyz(2.9950, 3.3644, 0.6065)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3404 #040A3A
analogous
#3A1904 #3A3404 #253A04
triadic
#3A3404 #043A34 #34043A
tetradic
#3A3404 #043A19 #040A3A #3A0425
square
#3A3404 #043A19 #040A3A #3A0425
split-complementary
#3A3404 #04253A #19043A
monochromatic
#1D1A02 #1D1A02 #3A3404 #736708 #AD9B0C

Accessibility & contrast

On white

12.55
#3A3404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3A3404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3404
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3404#FFFFFF#000000##FFFFFF
##3A34041.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3C3507
Tritanopia (blue-blind)
#3F2F2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3404;
/* rgb */ color: rgb(58, 52, 4);
/* oklch */ color: oklch(32.2% 0.064 101.8);
Tailwind
colors: {
  custom: {
    50: '#736b49',
    500: '#3a3404',
    950: '#000000',
  },
}
SCSS
$custom: #3a3404;
$custom-light: #736b49;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3404",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 53.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32164,
    "c": 0.06392,
    "h": 101.8
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#3A3404
secondary
#1E287C
accent
#42FD2B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3404

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

Preview Lab → · Contrast checker → · Palette generator →

#3A3404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva