#332804#332804

#332804 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.2% C 0.053 H 91.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#332804
RGBrgb(51, 40, 4)
HSLhsl(46, 85%, 11%)
HSVhsv(46, 92%, 20%)
CMYKcmyk(0%, 21.6%, 92.2%, 80%)
CIE-LABlab(16.65, 0.58, 22.53)
CIE-LCHlch(16.65, 22.53, 88.53°)
OKLaboklab(28.17% -0.0012 0.0533)
OKLCHoklch(28.17% 0.053 91.3)
XYZxyz(2.1461, 2.2303, 0.4323)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332804 #040F33
analogous
#331004 #332804 #263304
triadic
#332804 #043328 #280433
tetradic
#332804 #043310 #040F33 #330426
square
#332804 #043310 #040F33 #330426
split-complementary
#332804 #042633 #100433
monochromatic
#1C1602 #1C1602 #332804 #6C5508 #A4810D

Accessibility & contrast

On white

14.52
#332804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#332804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332804
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332804#FFFFFF#000000##FFFFFF
##3328041.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#312A06
Tritanopia (blue-blind)
#382421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #332804;
/* rgb */ color: rgb(51, 40, 4);
/* oklch */ color: oklch(28.2% 0.053 91.3);
Tailwind
colors: {
  custom: {
    50: '#6d6148',
    500: '#332804',
    950: '#000000',
  },
}
SCSS
$custom: #332804;
$custom-light: #6d6148;
$custom-dark: #000000;
JSON
{
  "hex": "#332804",
  "rgb": {
    "r": 51,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 45.957,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28172,
    "c": 0.05329,
    "h": 91.3
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#332804
secondary
#1D3275
accent
#5DFC2C
background
#F6F5F4
surface
#ECE9E6
border
#C7C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #332804

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

Preview Lab → · Contrast checker → · Palette generator →

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