#332C06#332C06

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

Color values

HEX#332C06
RGBrgb(51, 44, 6)
HSLhsl(51, 79%, 11%)
HSVhsv(51, 88%, 20%)
CMYKcmyk(0%, 13.7%, 88.2%, 80%)
CIE-LABlab(18.00, -1.96, 23.35)
CIE-LCHlch(18.00, 23.43, 94.80°)
OKLaboklab(29.25% -0.008 0.054)
OKLCHoklch(29.25% 0.055 98.5)
XYZxyz(2.2989, 2.5184, 0.5373)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C06 #060D33
analogous
#331506 #332C06 #233306
triadic
#332C06 #06332C #2C0633
tetradic
#332C06 #063315 #060D33 #330623
square
#332C06 #063315 #060D33 #330623
split-complementary
#332C06 #062333 #150633
monochromatic
#1B1803 #1B1803 #332C06 #6A5B0C #A18A13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332C06#FFFFFF#000000##FFFFFF
##332C061.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)
#312B02
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#382825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #332c06;
/* rgb */ color: rgb(51, 44, 6);
/* oklch */ color: oklch(29.2% 0.055 98.5);
Tailwind
colors: {
  custom: {
    50: '#6c644a',
    500: '#332c06',
    950: '#000000',
  },
}
SCSS
$custom: #332c06;
$custom-light: #6c644a;
$custom-dark: #000000;
JSON
{
  "hex": "#332c06",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 50.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29246,
    "c": 0.05455,
    "h": 98.5
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#332C06
secondary
#212E74
accent
#51F532
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332C06

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

Preview Lab → · Contrast checker → · Palette generator →

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