#332D05#332D05

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

Color values

HEX#332D05
RGBrgb(51, 45, 5)
HSLhsl(52, 82%, 11%)
HSVhsv(52, 90%, 20%)
CMYKcmyk(0%, 11.8%, 90.2%, 80%)
CIE-LABlab(18.33, -2.69, 24.15)
CIE-LCHlch(18.33, 24.30, 96.37°)
OKLaboklab(29.5% -0.0103 0.0555)
OKLCHoklch(29.5% 0.056 100.5)
XYZxyz(2.3311, 2.5916, 0.5210)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D05 #050B33
analogous
#331605 #332D05 #223305
triadic
#332D05 #05332D #2D0533
tetradic
#332D05 #053316 #050B33 #330522
square
#332D05 #053316 #050B33 #330522
split-complementary
#332D05 #052233 #160533
monochromatic
#1C1903 #1C1903 #332D05 #6B5E0A #A28F10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332D05#FFFFFF#000000##FFFFFF
##332D051.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)
#322B01
Deuteranopia (green-blind)
#342E07
Tritanopia (blue-blind)
#382925
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d05;
/* rgb */ color: rgb(51, 45, 5);
/* oklch */ color: oklch(29.5% 0.056 100.5);
Tailwind
colors: {
  custom: {
    50: '#6c6549',
    500: '#332d05',
    950: '#000000',
  },
}
SCSS
$custom: #332d05;
$custom-light: #6c6549;
$custom-dark: #000000;
JSON
{
  "hex": "#332d05",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 52.174,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29502,
    "c": 0.05648,
    "h": 100.5
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#332D05
secondary
#1F2A74
accent
#4AF82F
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D05

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

Preview Lab → · Contrast checker → · Palette generator →

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