#3A3904#3A3904

#3A3904 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.5% C 0.069 H 108.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#3A3904
RGBrgb(58, 57, 4)
HSLhsl(59, 87%, 12%)
HSVhsv(59, 93%, 23%)
CMYKcmyk(0%, 1.7%, 93.1%, 77.3%)
CIE-LABlab(23.12, -6.65, 30.06)
CIE-LCHlch(23.12, 30.79, 102.48°)
OKLaboklab(33.49% -0.0219 0.0656)
OKLCHoklch(33.49% 0.069 108.5)
XYZxyz(3.2301, 3.8347, 0.6849)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3904 #04053A
analogous
#3A1E04 #3A3904 #203A04
triadic
#3A3904 #043A39 #39043A
tetradic
#3A3904 #043A1E #04053A #3A0420
square
#3A3904 #043A1E #04053A #3A0420
split-complementary
#3A3904 #04203A #1E043A
monochromatic
#1D1C02 #1D1C02 #3A3904 #737108 #ADAA0C

Accessibility & contrast

On white

11.88
#3A3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3A3904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3904
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3904#FFFFFF#000000##FFFFFF
##3A39041.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3F3808
Tritanopia (blue-blind)
#3F342F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a3904;
/* rgb */ color: rgb(58, 57, 4);
/* oklch */ color: oklch(33.5% 0.069 108.5);
Tailwind
colors: {
  custom: {
    50: '#736f4a',
    500: '#3a3904',
    950: '#000000',
  },
}
SCSS
$custom: #3a3904;
$custom-light: #736f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3904",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 58.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.06921,
    "h": 108.5
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#3A3904
secondary
#1E207C
accent
#2EFD2B
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3904

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

Preview Lab → · Contrast checker → · Palette generator →

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