#332D06#332D06

#332D06 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.056 H 100.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#332D06
RGBrgb(51, 45, 6)
HSLhsl(52, 79%, 11%)
HSVhsv(52, 88%, 20%)
CMYKcmyk(0%, 11.8%, 88.2%, 80%)
CIE-LABlab(18.34, -2.62, 23.75)
CIE-LCHlch(18.34, 23.90, 96.30°)
OKLaboklab(29.51% -0.0099 0.0546)
OKLCHoklch(29.51% 0.056 100.3)
XYZxyz(2.3366, 2.5938, 0.5498)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D06 #060C33
analogous
#331606 #332D06 #223306
triadic
#332D06 #06332D #2D0633
tetradic
#332D06 #063316 #060C33 #330622
square
#332D06 #063316 #060C33 #330622
split-complementary
#332D06 #062233 #160633
monochromatic
#1B1803 #1B1803 #332D06 #6A5D0C #A18E13

Accessibility & contrast

On white

13.83
#332D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#332D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D06
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D06#FFFFFF#000000##FFFFFF
##332D061.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#382925
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d06;
/* rgb */ color: rgb(51, 45, 6);
/* oklch */ color: oklch(29.5% 0.056 100.3);
Tailwind
colors: {
  custom: {
    50: '#6c654a',
    500: '#332d06',
    950: '#000000',
  },
}
SCSS
$custom: #332d06;
$custom-light: #6c654a;
$custom-dark: #000000;
JSON
{
  "hex": "#332d06",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 52,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.05551,
    "h": 100.3
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#332D06
secondary
#212C74
accent
#4CF532
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D06

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

Preview Lab → · Contrast checker → · Palette generator →

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