#3A2F04#3A2F04

#3A2F04 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.9% C 0.060 H 93.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#3A2F04
RGBrgb(58, 47, 4)
HSLhsl(48, 87%, 12%)
HSVhsv(48, 93%, 23%)
CMYKcmyk(0%, 19%, 93.1%, 77.3%)
CIE-LABlab(19.81, -0.23, 26.49)
CIE-LCHlch(19.81, 26.49, 90.49°)
OKLaboklab(30.87% -0.0039 0.0595)
OKLCHoklch(30.87% 0.06 93.8)
XYZxyz(2.7835, 2.9415, 0.5360)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F04 #040F3A
analogous
#3A1404 #3A2F04 #2A3A04
triadic
#3A2F04 #043A2F #2F043A
tetradic
#3A2F04 #043A14 #040F3A #3A042A
square
#3A2F04 #043A14 #040F3A #3A042A
split-complementary
#3A2F04 #042A3A #14043A
monochromatic
#1D1702 #1D1702 #3A2F04 #735D08 #AD8C0C

Accessibility & contrast

On white

13.22
#3A2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2F04
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F04#FFFFFF#000000##FFFFFF
##3A2F041.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#402A27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2f04;
/* rgb */ color: rgb(58, 47, 4);
/* oklch */ color: oklch(30.9% 0.060 93.8);
Tailwind
colors: {
  custom: {
    50: '#736749',
    500: '#3a2f04',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f04;
$custom-light: #736749;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f04",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 47.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30865,
    "c": 0.05965,
    "h": 93.8
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#3A2F04
secondary
#1E317C
accent
#55FD2B
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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