#3A3115#3A3115

#3A3115 is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.6% C 0.045 H 91.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#3A3115
RGBrgb(58, 49, 21)
HSLhsl(45, 47%, 15%)
HSVhsv(45, 64%, 23%)
CMYKcmyk(0%, 15.5%, 63.8%, 77.3%)
CIE-LABlab(20.64, -0.28, 19.15)
CIE-LCHlch(20.64, 19.15, 90.83°)
OKLaboklab(31.58% -0.0015 0.0451)
OKLCHoklch(31.58% 0.045 91.9)
XYZxyz(2.9787, 3.1505, 1.1605)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3115 #151E3A
analogous
#3A1E15 #3A3115 #303A15
triadic
#3A3115 #153A31 #31153A
tetradic
#3A3115 #153A1E #151E3A #3A1530
square
#3A3115 #153A1E #151E3A #3A1530
split-complementary
#3A3115 #15303A #1E153A
monochromatic
#161308 #161308 #3A3115 #675725 #947D36

Accessibility & contrast

On white

12.88
#3A3115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3A3115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3115
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3115#FFFFFF#000000##FFFFFF
##3A31151.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363012
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#3F2D2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a3115;
/* rgb */ color: rgb(58, 49, 21);
/* oklch */ color: oklch(31.6% 0.045 91.9);
Tailwind
colors: {
  custom: {
    50: '#716853',
    500: '#3a3115',
    950: '#000000',
  },
}
SCSS
$custom: #3a3115;
$custom-light: #716853;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3115",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 45.405,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31577,
    "c": 0.04509,
    "h": 91.9
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#3A3115
secondary
#394771
accent
#72D651
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A3115

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

Preview Lab → · Contrast checker → · Palette generator →

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