#3A2F0B#3A2F0B

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

Color values

HEX#3A2F0B
RGBrgb(58, 47, 11)
HSLhsl(46, 68%, 14%)
HSVhsv(46, 81%, 23%)
CMYKcmyk(0%, 19%, 81%, 77.3%)
CIE-LABlab(19.87, 0.21, 23.69)
CIE-LCHlch(19.87, 23.70, 89.49°)
OKLaboklab(30.93% -0.0016 0.0537)
OKLCHoklch(30.93% 0.054 91.7)
XYZxyz(2.8220, 2.9569, 0.7386)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2F0B #0B163A
analogous
#3A170B #3A2F0B #2D3A0B
triadic
#3A2F0B #0B3A2F #2F0B3A
tetradic
#3A2F0B #0B3A17 #0B163A #3A0B2D
square
#3A2F0B #0B3A17 #0B163A #3A0B2D
split-complementary
#3A2F0B #0B2D3A #170B3A
monochromatic
#1A1505 #1A1505 #3A2F0B #6D5915 #A1821F

Accessibility & contrast

On white

13.20
#3A2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2F0B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2F0B#FFFFFF#000000##FFFFFF
##3A2F0B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E07
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#3F2A28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3a2f0b;
/* rgb */ color: rgb(58, 47, 11);
/* oklch */ color: oklch(30.9% 0.054 91.7);
Tailwind
colors: {
  custom: {
    50: '#72674c',
    500: '#3a2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #3a2f0b;
$custom-light: #72674c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2f0b",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 45.957,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30934,
    "c": 0.05369,
    "h": 91.7
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#3A2F0B
secondary
#2A3C77
accent
#66EB3D
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77

Preview Lab

Preview with #3A2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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