#3A2F08#3A2F08

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

Color values

HEX#3A2F08
RGBrgb(58, 47, 8)
HSLhsl(47, 76%, 13%)
HSVhsv(47, 86%, 23%)
CMYKcmyk(0%, 19%, 86.2%, 77.3%)
CIE-LABlab(19.84, 0.02, 24.90)
CIE-LCHlch(19.84, 24.90, 89.95°)
OKLaboklab(30.9% -0.0026 0.0561)
OKLCHoklch(30.9% 0.056 92.6)
XYZxyz(2.8054, 2.9503, 0.6514)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F08 #08133A
analogous
#3A1608 #3A2F08 #2C3A08
triadic
#3A2F08 #083A2F #2F083A
tetradic
#3A2F08 #083A16 #08133A #3A082C
square
#3A2F08 #083A16 #08133A #3A082C
split-complementary
#3A2F08 #082C3A #16083A
monochromatic
#1B1604 #1B1604 #3A2F08 #705B0F #A68617

Accessibility & contrast

On white

13.21
#3A2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2F08
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F08#FFFFFF#000000##FFFFFF
##3A2F081.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#402A27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2f08;
/* rgb */ color: rgb(58, 47, 8);
/* oklch */ color: oklch(30.9% 0.056 92.6);
Tailwind
colors: {
  custom: {
    50: '#72674b',
    500: '#3a2f08',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f08;
$custom-light: #72674b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f08",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 46.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30904,
    "c": 0.05619,
    "h": 92.6
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#3A2F08
secondary
#253779
accent
#5FF235
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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