#3A320F#3A320F

#3A320F is a dark, muted yellow. Relative luminance 0.032; OKLCH L 31.8% C 0.053 H 96.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#3A320F
RGBrgb(58, 50, 15)
HSLhsl(49, 59%, 14%)
HSVhsv(49, 74%, 23%)
CMYKcmyk(0%, 13.8%, 74.1%, 77.3%)
CIE-LABlab(20.89, -1.47, 22.91)
CIE-LCHlch(20.89, 22.96, 93.68°)
OKLaboklab(31.75% -0.0058 0.0522)
OKLCHoklch(31.75% 0.053 96.4)
XYZxyz(2.9719, 3.2154, 0.9159)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A320F #0F173A
analogous
#3A1D0F #3A320F #2D3A0F
triadic
#3A320F #0F3A32 #320F3A
tetradic
#3A320F #0F3A1D #0F173A #3A0F2D
square
#3A320F #0F3A1D #0F173A #3A0F2D
split-complementary
#3A320F #0F2D3A #1D0F3A
monochromatic
#181506 #181506 #3A320F #6B5C1C #9B8628

Accessibility & contrast

On white

12.78
#3A320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3A320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A320F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A320F#FFFFFF#000000##FFFFFF
##3A320F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#3F2E2B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a320f;
/* rgb */ color: rgb(58, 50, 15);
/* oklch */ color: oklch(31.8% 0.053 96.4);
Tailwind
colors: {
  custom: {
    50: '#72694f',
    500: '#3a320f',
    950: '#000000',
  },
}
SCSS
$custom: #3a320f;
$custom-light: #72694f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a320f",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 48.837,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.05255,
    "h": 96.4
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#3A320F
secondary
#303D74
accent
#63E246
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080602
muted
#7B7A78

Preview Lab

Preview with #3A320F

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

Preview Lab → · Contrast checker → · Palette generator →

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