#3A3908#3A3908

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

Color values

HEX#3A3908
RGBrgb(58, 57, 8)
HSLhsl(59, 76%, 13%)
HSVhsv(59, 86%, 23%)
CMYKcmyk(0%, 1.7%, 86.2%, 77.3%)
CIE-LABlab(23.15, -6.42, 28.46)
CIE-LCHlch(23.15, 29.18, 102.70°)
OKLaboklab(33.53% -0.0207 0.0628)
OKLCHoklch(33.53% 0.066 108.3)
XYZxyz(3.2520, 3.8434, 0.8002)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3908 #08093A
analogous
#3A2008 #3A3908 #223A08
triadic
#3A3908 #083A39 #39083A
tetradic
#3A3908 #083A20 #08093A #3A0822
square
#3A3908 #083A20 #08093A #3A0822
split-complementary
#3A3908 #08223A #20083A
monochromatic
#1B1A04 #1B1A04 #3A3908 #706E0F #A6A317

Accessibility & contrast

On white

11.87
#3A3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3908
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3908#FFFFFF#000000##FFFFFF
##3A39081.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3601
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#3F3530
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a3908;
/* rgb */ color: rgb(58, 57, 8);
/* oklch */ color: oklch(33.5% 0.066 108.3);
Tailwind
colors: {
  custom: {
    50: '#726f4c',
    500: '#3a3908',
    950: '#000000',
  },
}
SCSS
$custom: #3a3908;
$custom-light: #726f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3908",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 58.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.0661,
    "h": 108.3
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#3A3908
secondary
#252779
accent
#39F235
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#080701
muted
#7B7A77

Preview Lab

Preview with #3A3908

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

Preview Lab → · Contrast checker → · Palette generator →

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