#332B08#332B08

#332B08 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 29.0% C 0.052 H 96.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#332B08
RGBrgb(51, 43, 8)
HSLhsl(49, 73%, 12%)
HSVhsv(49, 84%, 20%)
CMYKcmyk(0%, 15.7%, 84.3%, 80%)
CIE-LABlab(17.69, -1.15, 22.16)
CIE-LCHlch(17.69, 22.19, 92.97°)
OKLaboklab(29% -0.0054 0.0514)
OKLCHoklch(29% 0.052 96)
XYZxyz(2.2731, 2.4492, 0.5827)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B08 #081033
analogous
#331608 #332B08 #263308
triadic
#332B08 #08332B #2B0833
tetradic
#332B08 #083316 #081033 #330826
square
#332B08 #083316 #081033 #330826
split-complementary
#332B08 #082633 #160833
monochromatic
#1A1604 #1A1604 #332B08 #685810 #9D8419

Accessibility & contrast

On white

14.10
#332B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#332B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332B08
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B08#FFFFFF#000000##FFFFFF
##332B081.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#382724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #332b08;
/* rgb */ color: rgb(51, 43, 8);
/* oklch */ color: oklch(29.0% 0.052 96.0);
Tailwind
colors: {
  custom: {
    50: '#6c644b',
    500: '#332b08',
    950: '#000000',
  },
}
SCSS
$custom: #332b08;
$custom-light: #6c644b;
$custom-dark: #000000;
JSON
{
  "hex": "#332b08",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 48.837,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29004,
    "c": 0.05169,
    "h": 96
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#332B08
secondary
#253372
accent
#5AF038
background
#F6F5F4
surface
#ECEAE7
border
#C7C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B08

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

Preview Lab → · Contrast checker → · Palette generator →

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