#3A3312#3A3312

#3A3312 is a dark, muted yellow. Relative luminance 0.033; OKLCH L 32.0% C 0.050 H 97.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#3A3312
RGBrgb(58, 51, 18)
HSLhsl(50, 53%, 15%)
HSVhsv(50, 69%, 23%)
CMYKcmyk(0%, 12.1%, 69%, 77.3%)
CIE-LABlab(21.25, -1.87, 21.64)
CIE-LCHlch(21.25, 21.72, 94.95°)
OKLaboklab(32.05% -0.0065 0.05)
OKLCHoklch(32.05% 0.05 97.4)
XYZxyz(3.0381, 3.3110, 1.0512)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3312 #12193A
analogous
#3A1F12 #3A3312 #2D3A12
triadic
#3A3312 #123A33 #33123A
tetradic
#3A3312 #123A1F #12193A #3A122D
square
#3A3312 #123A1F #12193A #3A122D
split-complementary
#3A3312 #122D3A #1F123A
monochromatic
#171507 #171507 #3A3312 #695C20 #97852F

Accessibility & contrast

On white

12.63
#3A3312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3312
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3312#FFFFFF#000000##FFFFFF
##3A33121.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320F
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#3F2F2C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a3312;
/* rgb */ color: rgb(58, 51, 18);
/* oklch */ color: oklch(32.0% 0.050 97.4);
Tailwind
colors: {
  custom: {
    50: '#726a51',
    500: '#3a3312',
    950: '#000000',
  },
}
SCSS
$custom: #3a3312;
$custom-light: #726a51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3312",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 49.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.05042,
    "h": 97.4
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#3A3312
secondary
#354073
accent
#65DC4C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A3312

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

Preview Lab → · Contrast checker → · Palette generator →

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