#3A331A#3A331A

#3A331A is a dark, muted yellow. Relative luminance 0.033; OKLCH L 32.2% C 0.041 H 94.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3A331A
RGBrgb(58, 51, 26)
HSLhsl(47, 38%, 16%)
HSVhsv(47, 55%, 23%)
CMYKcmyk(0%, 12.1%, 55.2%, 77.3%)
CIE-LABlab(21.36, -1.04, 16.93)
CIE-LCHlch(21.36, 16.96, 93.51°)
OKLaboklab(32.18% -0.003 0.0407)
OKLCHoklch(32.18% 0.041 94.2)
XYZxyz(3.1153, 3.3419, 1.4580)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A331A #1A213A
analogous
#3A231A #3A331A #313A1A
triadic
#3A331A #1A3A33 #331A3A
tetradic
#3A331A #1A3A23 #1A213A #3A1A31
square
#3A331A #1A3A23 #1A213A #3A1A31
split-complementary
#3A331A #1A313A #231A3A
monochromatic
#151309 #151309 #3A331A #64582D #8F7D40

Accessibility & contrast

On white

12.59
#3A331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3A331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A331A
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A331A#FFFFFF#000000##FFFFFF
##3A331A1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#3E302D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a331a;
/* rgb */ color: rgb(58, 51, 26);
/* oklch */ color: oklch(32.2% 0.041 94.2);
Tailwind
colors: {
  custom: {
    50: '#716a57',
    500: '#3a331a',
    950: '#000000',
  },
}
SCSS
$custom: #3a331a;
$custom-light: #716a57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a331a",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 46.875,
    "s": 38.095,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32177,
    "c": 0.0408,
    "h": 94.2
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#3A331A
secondary
#404B6F
accent
#73CE5A
background
#F6F6F5
surface
#ECEBE9
border
#C7C6C5
text
#080603
muted
#7B7A78

Preview Lab

Preview with #3A331A

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

Preview Lab → · Contrast checker → · Palette generator →

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