#3A3906#3A3906

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

Color values

HEX#3A3906
RGBrgb(58, 57, 6)
HSLhsl(59, 81%, 13%)
HSVhsv(59, 90%, 23%)
CMYKcmyk(0%, 1.7%, 89.7%, 77.3%)
CIE-LABlab(23.13, -6.53, 29.26)
CIE-LCHlch(23.13, 29.98, 102.59°)
OKLaboklab(33.51% -0.0213 0.0642)
OKLCHoklch(33.51% 0.068 108.4)
XYZxyz(3.2411, 3.8391, 0.7425)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3906 #06073A
analogous
#3A1F06 #3A3906 #213A06
triadic
#3A3906 #063A39 #39063A
tetradic
#3A3906 #063A1F #06073A #3A0621
square
#3A3906 #063A1F #06073A #3A0621
split-complementary
#3A3906 #06213A #1F063A
monochromatic
#1C1B03 #1C1B03 #3A3906 #71700C #A9A611

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3906#FFFFFF#000000##FFFFFF
##3A39061.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)
#3F380A
Tritanopia (blue-blind)
#3F3530
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a3906;
/* rgb */ color: rgb(58, 57, 6);
/* oklch */ color: oklch(33.5% 0.068 108.4);
Tailwind
colors: {
  custom: {
    50: '#726f4b',
    500: '#3a3906',
    950: '#000000',
  },
}
SCSS
$custom: #3a3906;
$custom-light: #726f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3906",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 58.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.06764,
    "h": 108.4
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#3A3906
secondary
#22237A
accent
#34F830
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3906

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

Preview Lab → · Contrast checker → · Palette generator →

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