#332B05#332B05

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

Color values

HEX#332B05
RGBrgb(51, 43, 5)
HSLhsl(50, 82%, 11%)
HSVhsv(50, 90%, 20%)
CMYKcmyk(0%, 15.7%, 90.2%, 80%)
CIE-LABlab(17.66, -1.37, 23.35)
CIE-LCHlch(17.66, 23.39, 93.35°)
OKLaboklab(28.97% -0.0065 0.0542)
OKLCHoklch(28.97% 0.055 96.9)
XYZxyz(2.2566, 2.4426, 0.4962)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B05 #050D33
analogous
#331405 #332B05 #243305
triadic
#332B05 #05332B #2B0533
tetradic
#332B05 #053314 #050D33 #330524
square
#332B05 #053314 #050D33 #330524
split-complementary
#332B05 #052433 #140533
monochromatic
#1C1703 #1C1703 #332B05 #6B5A0A #A28910

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332B05#FFFFFF#000000##FFFFFF
##332B051.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)
#312A01
Deuteranopia (green-blind)
#332C07
Tritanopia (blue-blind)
#382724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b05;
/* rgb */ color: rgb(51, 43, 5);
/* oklch */ color: oklch(29.0% 0.055 96.9);
Tailwind
colors: {
  custom: {
    50: '#6c6449',
    500: '#332b05',
    950: '#000000',
  },
}
SCSS
$custom: #332b05;
$custom-light: #6c6449;
$custom-dark: #000000;
JSON
{
  "hex": "#332b05",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 49.565,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2897,
    "c": 0.05462,
    "h": 96.9
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#332B05
secondary
#1F2E74
accent
#52F82F
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B05

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

Preview Lab → · Contrast checker → · Palette generator →

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