#332A04#332A04

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

Color values

HEX#332A04
RGBrgb(51, 42, 4)
HSLhsl(49, 85%, 11%)
HSVhsv(49, 92%, 20%)
CMYKcmyk(0%, 17.6%, 92.2%, 80%)
CIE-LABlab(17.31, -0.77, 23.34)
CIE-LCHlch(17.31, 23.35, 91.89°)
OKLaboklab(28.69% -0.005 0.0546)
OKLCHoklch(28.69% 0.055 95.3)
XYZxyz(2.2152, 2.3686, 0.4554)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A04 #040D33
analogous
#331204 #332A04 #243304
triadic
#332A04 #04332A #2A0433
tetradic
#332A04 #043312 #040D33 #330424
square
#332A04 #043312 #040D33 #330424
split-complementary
#332A04 #042433 #120433
monochromatic
#1C1702 #1C1702 #332A04 #6C5908 #A4870D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332A04#FFFFFF#000000##FFFFFF
##332A041.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)
#302900
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#382623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332a04;
/* rgb */ color: rgb(51, 42, 4);
/* oklch */ color: oklch(28.7% 0.055 95.3);
Tailwind
colors: {
  custom: {
    50: '#6d6349',
    500: '#332a04',
    950: '#000000',
  },
}
SCSS
$custom: #332a04;
$custom-light: #6d6349;
$custom-dark: #000000;
JSON
{
  "hex": "#332a04",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 48.511,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28695,
    "c": 0.05478,
    "h": 95.3
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#332A04
secondary
#1D2E75
accent
#54FC2C
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070501
muted
#7A7977

Preview Lab

Preview with #332A04

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

Preview Lab → · Contrast checker → · Palette generator →

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