#3A2F0C#3A2F0C

#3A2F0C is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.9% C 0.053 H 91.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#3A2F0C
RGBrgb(58, 47, 12)
HSLhsl(46, 66%, 14%)
HSVhsv(46, 79%, 23%)
CMYKcmyk(0%, 19%, 79.3%, 77.3%)
CIE-LABlab(19.88, 0.28, 23.26)
CIE-LCHlch(19.88, 23.26, 89.32°)
OKLaboklab(30.95% -0.0012 0.0528)
OKLCHoklch(30.95% 0.053 91.3)
XYZxyz(2.8279, 2.9593, 0.7700)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F0C #0C173A
analogous
#3A180C #3A2F0C #2E3A0C
triadic
#3A2F0C #0C3A2F #2F0C3A
tetradic
#3A2F0C #0C3A18 #0C173A #3A0C2E
square
#3A2F0C #0C3A18 #0C173A #3A0C2E
split-complementary
#3A2F0C #0C2E3A #180C3A
monochromatic
#191505 #191505 #3A2F0C #6D5816 #9F8121

Accessibility & contrast

On white

13.19
#3A2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3A2F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2F0C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F0C#FFFFFF#000000##FFFFFF
##3A2F0C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#38310E
Tritanopia (blue-blind)
#3F2B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2f0c;
/* rgb */ color: rgb(58, 47, 12);
/* oklch */ color: oklch(30.9% 0.053 91.3);
Tailwind
colors: {
  custom: {
    50: '#72674d',
    500: '#3a2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f0c;
$custom-light: #72674d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f0c",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 45.652,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30945,
    "c": 0.05281,
    "h": 91.3
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#3A2F0C
secondary
#2C3D76
accent
#68E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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