#3A3308#3A3308

#3A3308 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 31.9% C 0.060 H 99.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#3A3308
RGBrgb(58, 51, 8)
HSLhsl(52, 76%, 13%)
HSVhsv(52, 86%, 23%)
CMYKcmyk(0%, 12.1%, 86.2%, 77.3%)
CIE-LABlab(21.15, -2.60, 26.35)
CIE-LCHlch(21.15, 26.48, 95.63°)
OKLaboklab(31.94% -0.01 0.0588)
OKLCHoklch(31.94% 0.06 99.7)
XYZxyz(2.9727, 3.2849, 0.7071)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3308 #080F3A
analogous
#3A1A08 #3A3308 #283A08
triadic
#3A3308 #083A33 #33083A
tetradic
#3A3308 #083A1A #080F3A #3A0828
square
#3A3308 #083A1A #080F3A #3A0828
split-complementary
#3A3308 #08283A #1A083A
monochromatic
#1B1804 #1B1804 #3A3308 #70620F #A69217

Accessibility & contrast

On white

12.67
#3A3308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3308
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3308#FFFFFF#000000##FFFFFF
##3A33081.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393103
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#3F2E2B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3308;
/* rgb */ color: rgb(58, 51, 8);
/* oklch */ color: oklch(31.9% 0.060 99.7);
Tailwind
colors: {
  custom: {
    50: '#726a4b',
    500: '#3a3308',
    950: '#000000',
  },
}
SCSS
$custom: #3a3308;
$custom-light: #726a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3308",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 51.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31939,
    "c": 0.05962,
    "h": 99.7
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#3A3308
secondary
#253179
accent
#50F235
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A3308

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

Preview Lab → · Contrast checker → · Palette generator →

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