#332C05#332C05

#332C05 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.056 H 98.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#332C05
RGBrgb(51, 44, 5)
HSLhsl(51, 82%, 11%)
HSVhsv(51, 90%, 20%)
CMYKcmyk(0%, 13.7%, 90.2%, 80%)
CIE-LABlab(17.99, -2.03, 23.75)
CIE-LCHlch(17.99, 23.84, 94.89°)
OKLaboklab(29.24% -0.0084 0.0549)
OKLCHoklch(29.24% 0.056 98.7)
XYZxyz(2.2934, 2.5162, 0.5084)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C05 #050C33
analogous
#331505 #332C05 #233305
triadic
#332C05 #05332C #2C0533
tetradic
#332C05 #053315 #050C33 #330523
square
#332C05 #053315 #050C33 #330523
split-complementary
#332C05 #052333 #150533
monochromatic
#1C1803 #1C1803 #332C05 #6B5C0A #A28C10

Accessibility & contrast

On white

13.97
#332C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#332C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C05
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C05#FFFFFF#000000##FFFFFF
##332C051.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B01
Deuteranopia (green-blind)
#332D07
Tritanopia (blue-blind)
#382824
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #332c05;
/* rgb */ color: rgb(51, 44, 5);
/* oklch */ color: oklch(29.2% 0.056 98.7);
Tailwind
colors: {
  custom: {
    50: '#6c6449',
    500: '#332c05',
    950: '#000000',
  },
}
SCSS
$custom: #332c05;
$custom-light: #6c6449;
$custom-dark: #000000;
JSON
{
  "hex": "#332c05",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 50.87,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.05552,
    "h": 98.7
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#332C05
secondary
#1F2C74
accent
#4EF82F
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332C05

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

Preview Lab → · Contrast checker → · Palette generator →

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