#332A05#332A05

#332A05 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.054 H 94.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#332A05
RGBrgb(51, 42, 5)
HSLhsl(48, 82%, 11%)
HSVhsv(48, 90%, 20%)
CMYKcmyk(0%, 17.6%, 90.2%, 80%)
CIE-LABlab(17.32, -0.70, 22.94)
CIE-LCHlch(17.32, 22.95, 91.74°)
OKLaboklab(28.71% -0.0046 0.0536)
OKLCHoklch(28.71% 0.054 94.9)
XYZxyz(2.2207, 2.3708, 0.4842)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A05 #050E33
analogous
#331305 #332A05 #253305
triadic
#332A05 #05332A #2A0533
tetradic
#332A05 #053313 #050E33 #330525
square
#332A05 #053313 #050E33 #330525
split-complementary
#332A05 #052533 #130533
monochromatic
#1C1703 #1C1703 #332A05 #6B580A #A28610

Accessibility & contrast

On white

14.25
#332A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#332A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332A05
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332A05#FFFFFF#000000##FFFFFF
##332A051.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332a05;
/* rgb */ color: rgb(51, 42, 5);
/* oklch */ color: oklch(28.7% 0.054 94.9);
Tailwind
colors: {
  custom: {
    50: '#6c6349',
    500: '#332a05',
    950: '#000000',
  },
}
SCSS
$custom: #332a05;
$custom-light: #6c6349;
$custom-dark: #000000;
JSON
{
  "hex": "#332a05",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 48.261,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28706,
    "c": 0.05377,
    "h": 94.9
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#332A05
secondary
#1F3074
accent
#57F82F
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332A05

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

Preview Lab → · Contrast checker → · Palette generator →

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