#332B04#332B04

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

Color values

HEX#332B04
RGBrgb(51, 43, 4)
HSLhsl(50, 85%, 11%)
HSVhsv(50, 92%, 20%)
CMYKcmyk(0%, 15.7%, 92.2%, 80%)
CIE-LABlab(17.65, -1.44, 23.74)
CIE-LCHlch(17.65, 23.79, 93.47°)
OKLaboklab(28.96% -0.0069 0.0552)
OKLCHoklch(28.96% 0.056 97.1)
XYZxyz(2.2512, 2.4404, 0.4673)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B04 #040C33
analogous
#331304 #332B04 #233304
triadic
#332B04 #04332B #2B0433
tetradic
#332B04 #043313 #040C33 #330423
square
#332B04 #043313 #040C33 #330423
split-complementary
#332B04 #042333 #130433
monochromatic
#1C1802 #1C1802 #332B04 #6C5B08 #A48B0D

Accessibility & contrast

On white

14.11
#332B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#332B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332B04
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B04#FFFFFF#000000##FFFFFF
##332B041.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#332C06
Tritanopia (blue-blind)
#382724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b04;
/* rgb */ color: rgb(51, 43, 4);
/* oklch */ color: oklch(29.0% 0.056 97.1);
Tailwind
colors: {
  custom: {
    50: '#6d6449',
    500: '#332b04',
    950: '#000000',
  },
}
SCSS
$custom: #332b04;
$custom-light: #6d6449;
$custom-dark: #000000;
JSON
{
  "hex": "#332b04",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 49.787,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28959,
    "c": 0.05562,
    "h": 97.1
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#332B04
secondary
#1D2C75
accent
#4FFC2C
background
#F6F5F4
surface
#ECEAE6
border
#C7C6C2
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B04

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

Preview Lab → · Contrast checker → · Palette generator →

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