#332906#332906

#332906 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.052 H 92.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#332906
RGBrgb(51, 41, 6)
HSLhsl(47, 79%, 11%)
HSVhsv(47, 88%, 20%)
CMYKcmyk(0%, 19.6%, 88.2%, 80%)
CIE-LABlab(17.00, 0.05, 22.14)
CIE-LCHlch(17.00, 22.14, 89.87°)
OKLaboklab(28.46% -0.0023 0.0519)
OKLCHoklch(28.46% 0.052 92.6)
XYZxyz(2.1912, 2.3030, 0.5014)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332906 #061033
analogous
#331206 #332906 #263306
triadic
#332906 #063329 #290633
tetradic
#332906 #063312 #061033 #330626
square
#332906 #063312 #061033 #330626
split-complementary
#332906 #062633 #120633
monochromatic
#1B1603 #1B1603 #332906 #6A550C #A18113

Accessibility & contrast

On white

14.38
#332906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#332906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332906
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332906#FFFFFF#000000##FFFFFF
##3329061.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2802
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#382522
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #332906;
/* rgb */ color: rgb(51, 41, 6);
/* oklch */ color: oklch(28.5% 0.052 92.6);
Tailwind
colors: {
  custom: {
    50: '#6c6249',
    500: '#332906',
    950: '#000000',
  },
}
SCSS
$custom: #332906;
$custom-light: #6c6249;
$custom-dark: #000000;
JSON
{
  "hex": "#332906",
  "rgb": {
    "r": 51,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 46.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.05198,
    "h": 92.6
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#332906
secondary
#213474
accent
#5EF532
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332906

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

Preview Lab → · Contrast checker → · Palette generator →

#332906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva