#332A03#332A03

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

Color values

HEX#332A03
RGBrgb(51, 42, 3)
HSLhsl(49, 89%, 11%)
HSVhsv(49, 94%, 20%)
CMYKcmyk(0%, 17.6%, 94.1%, 80%)
CIE-LABlab(17.30, -0.84, 23.73)
CIE-LCHlch(17.30, 23.75, 92.03°)
OKLaboklab(28.68% -0.0054 0.0556)
OKLCHoklch(28.68% 0.056 95.6)
XYZxyz(2.2098, 2.3664, 0.4265)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A03 #030C33
analogous
#331203 #332A03 #243303
triadic
#332A03 #03332A #2A0333
tetradic
#332A03 #033312 #030C33 #330324
square
#332A03 #033312 #030C33 #330324
split-complementary
#332A03 #032433 #120333
monochromatic
#1D1802 #1D1802 #332A03 #6D5A06 #A7890A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332A03#FFFFFF#000000##FFFFFF
##332A031.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)
#322C05
Tritanopia (blue-blind)
#382623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332a03;
/* rgb */ color: rgb(51, 42, 3);
/* oklch */ color: oklch(28.7% 0.056 95.6);
Tailwind
colors: {
  custom: {
    50: '#6d6348',
    500: '#332a03',
    950: '#000000',
  },
}
SCSS
$custom: #332a03;
$custom-light: #6d6348;
$custom-dark: #000000;
JSON
{
  "hex": "#332a03",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 48.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28684,
    "c": 0.05581,
    "h": 95.6
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#332A03
secondary
#1C2D76
accent
#51FF29
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332A03

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

Preview Lab → · Contrast checker → · Palette generator →

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