#332802#332802

#332802 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.055 H 92.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#332802
RGBrgb(51, 40, 2)
HSLhsl(47, 92%, 10%)
HSVhsv(47, 96%, 20%)
CMYKcmyk(0%, 21.6%, 96.1%, 80%)
CIE-LABlab(16.63, 0.43, 23.32)
CIE-LCHlch(16.63, 23.32, 88.94°)
OKLaboklab(28.15% -0.002 0.0554)
OKLCHoklch(28.15% 0.055 92.1)
XYZxyz(2.1351, 2.2259, 0.3746)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332802 #020D33
analogous
#331002 #332802 #253302
triadic
#332802 #023328 #280233
tetradic
#332802 #023310 #020D33 #330225
square
#332802 #023310 #020D33 #330225
split-complementary
#332802 #022533 #100233
monochromatic
#1D1701 #1D1701 #332802 #6E5604 #A98407

Accessibility & contrast

On white

14.53
#332802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#332802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332802
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332802#FFFFFF#000000##FFFFFF
##3328021.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#382421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #332802;
/* rgb */ color: rgb(51, 40, 2);
/* oklch */ color: oklch(28.1% 0.055 92.1);
Tailwind
colors: {
  custom: {
    50: '#6d6148',
    500: '#332802',
    950: '#000000',
  },
}
SCSS
$custom: #332802;
$custom-light: #6d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#332802",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 46.531,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.0554,
    "h": 92.1
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#332802
secondary
#1A2F77
accent
#59FF29
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332802

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

Preview Lab → · Contrast checker → · Palette generator →

#332802 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva