#332A09#332A09

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

Color values

HEX#332A09
RGBrgb(51, 42, 9)
HSLhsl(47, 70%, 12%)
HSVhsv(47, 82%, 20%)
CMYKcmyk(0%, 17.6%, 82.4%, 80%)
CIE-LABlab(17.37, -0.41, 21.36)
CIE-LCHlch(17.37, 21.37, 91.09°)
OKLaboklab(28.75% -0.0031 0.0498)
OKLCHoklch(28.75% 0.05 93.6)
XYZxyz(2.2426, 2.3796, 0.5996)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A09 #091233
analogous
#331509 #332A09 #273309
triadic
#332A09 #09332A #2A0933
tetradic
#332A09 #093315 #091233 #330927
square
#332A09 #093315 #091233 #330927
split-complementary
#332A09 #092733 #150933
monochromatic
#1A1505 #1A1505 #332A09 #675512 #9B801B

Accessibility & contrast

On white

14.23
#332A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332A09
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332A09#FFFFFF#000000##FFFFFF
##332A091.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332a09;
/* rgb */ color: rgb(51, 42, 9);
/* oklch */ color: oklch(28.8% 0.050 93.6);
Tailwind
colors: {
  custom: {
    50: '#6c634b',
    500: '#332a09',
    950: '#000000',
  },
}
SCSS
$custom: #332a09;
$custom-light: #6c634b;
$custom-dark: #000000;
JSON
{
  "hex": "#332a09",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 47.143,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.04987,
    "h": 93.6
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#332A09
secondary
#273771
accent
#61ED3B
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332A09

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

Preview Lab → · Contrast checker → · Palette generator →

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