#3A3304#3A3304

#3A3304 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.063 H 100.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#3A3304
RGBrgb(58, 51, 4)
HSLhsl(52, 87%, 12%)
HSVhsv(52, 93%, 23%)
CMYKcmyk(0%, 12.1%, 93.1%, 77.3%)
CIE-LABlab(21.12, -2.84, 27.94)
CIE-LCHlch(21.12, 28.09, 95.81°)
OKLaboklab(31.9% -0.0113 0.062)
OKLCHoklch(31.9% 0.063 100.3)
XYZxyz(2.9508, 3.2761, 0.5918)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3304 #040B3A
analogous
#3A1804 #3A3304 #263A04
triadic
#3A3304 #043A33 #33043A
tetradic
#3A3304 #043A18 #040B3A #3A0426
square
#3A3304 #043A18 #040B3A #3A0426
split-complementary
#3A3304 #04263A #18043A
monochromatic
#1D1902 #1D1902 #3A3304 #736508 #AD980C

Accessibility & contrast

On white

12.69
#3A3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3A3304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3304
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3304#FFFFFF#000000##FFFFFF
##3A33041.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#3B3407
Tritanopia (blue-blind)
#3F2E2A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3304;
/* rgb */ color: rgb(58, 51, 4);
/* oklch */ color: oklch(31.9% 0.063 100.3);
Tailwind
colors: {
  custom: {
    50: '#736a49',
    500: '#3a3304',
    950: '#000000',
  },
}
SCSS
$custom: #3a3304;
$custom-light: #736a49;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3304",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 52.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.06297,
    "h": 100.3
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#3A3304
secondary
#1E2A7C
accent
#46FD2B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3304

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

Preview Lab → · Contrast checker → · Palette generator →

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