#332A08#332A08

#332A08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.051 H 93.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#332A08
RGBrgb(51, 42, 8)
HSLhsl(47, 73%, 12%)
HSVhsv(47, 84%, 20%)
CMYKcmyk(0%, 17.6%, 84.3%, 80%)
CIE-LABlab(17.35, -0.48, 21.76)
CIE-LCHlch(17.35, 21.76, 91.26°)
OKLaboklab(28.74% -0.0035 0.0507)
OKLCHoklch(28.74% 0.051 93.9)
XYZxyz(2.2372, 2.3774, 0.5707)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332A08 #081133
analogous
#331508 #332A08 #273308
triadic
#332A08 #08332A #2A0833
tetradic
#332A08 #083315 #081133 #330827
square
#332A08 #083315 #081133 #330827
split-complementary
#332A08 #082733 #150833
monochromatic
#1A1604 #1A1604 #332A08 #685610 #9D8119

Accessibility & contrast

On white

14.23
#332A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#332A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332A08
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332A08#FFFFFF#000000##FFFFFF
##332A081.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#382623
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332a08;
/* rgb */ color: rgb(51, 42, 8);
/* oklch */ color: oklch(28.7% 0.051 93.9);
Tailwind
colors: {
  custom: {
    50: '#6c634a',
    500: '#332a08',
    950: '#000000',
  },
}
SCSS
$custom: #332a08;
$custom-light: #6c634a;
$custom-dark: #000000;
JSON
{
  "hex": "#332a08",
  "rgb": {
    "r": 51,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 47.442,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28741,
    "c": 0.05082,
    "h": 93.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#332A08
secondary
#253572
accent
#5FF038
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332A08

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

Preview Lab → · Contrast checker → · Palette generator →

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