#332A0A#332A0A

#332A0A is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.049 H 93.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#332A0A
RGBrgb(51, 42, 10)
HSLhsl(47, 67%, 12%)
HSVhsv(47, 80%, 20%)
CMYKcmyk(0%, 17.6%, 80.4%, 80%)
CIE-LABlab(17.38, -0.33, 20.97)
CIE-LCHlch(17.38, 20.97, 90.91°)
OKLaboklab(28.76% -0.0027 0.0489)
OKLCHoklch(28.76% 0.049 93.2)
XYZxyz(2.2481, 2.3818, 0.6284)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A0A #0A1333
analogous
#33160A #332A0A #28330A
triadic
#332A0A #0A332A #2A0A33
tetradic
#332A0A #0A3316 #0A1333 #330A28
square
#332A0A #0A3316 #0A1333 #330A28
split-complementary
#332A0A #0A2833 #160A33
monochromatic
#1A1505 #1A1505 #332A0A #665414 #997E1E

Accessibility & contrast

On white

14.22
#332A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#332A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332A0A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332A0A#FFFFFF#000000##FFFFFF
##332A0A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2906
Deuteranopia (green-blind)
#322C0C
Tritanopia (blue-blind)
#382623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332a0a;
/* rgb */ color: rgb(51, 42, 10);
/* oklch */ color: oklch(28.8% 0.049 93.2);
Tailwind
colors: {
  custom: {
    50: '#6c634b',
    500: '#332a0a',
    950: '#000000',
  },
}
SCSS
$custom: #332a0a;
$custom-light: #6c634b;
$custom-dark: #000000;
JSON
{
  "hex": "#332a0a",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 46.829,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28763,
    "c": 0.04893,
    "h": 93.2
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#332A0A
secondary
#283870
accent
#64EA3E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332A0A

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

Preview Lab → · Contrast checker → · Palette generator →

#332A0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva