#332B0B#332B0B

#332B0B is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.049 H 95.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#332B0B
RGBrgb(51, 43, 11)
HSLhsl(48, 65%, 12%)
HSVhsv(48, 78%, 20%)
CMYKcmyk(0%, 15.7%, 78.4%, 80%)
CIE-LABlab(17.72, -0.93, 20.96)
CIE-LCHlch(17.72, 20.98, 92.54°)
OKLaboklab(29.04% -0.0043 0.0487)
OKLCHoklch(29.04% 0.049 95.1)
XYZxyz(2.2896, 2.4558, 0.6700)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B0B #0B1333
analogous
#33170B #332B0B #27330B
triadic
#332B0B #0B332B #2B0B33
tetradic
#332B0B #0B3317 #0B1333 #330B27
square
#332B0B #0B3317 #0B1333 #330B27
split-complementary
#332B0B #0B2733 #170B33
monochromatic
#191505 #191505 #332B0B #655516 #988021

Accessibility & contrast

On white

14.08
#332B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332B0B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B0B#FFFFFF#000000##FFFFFF
##332B0B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332b0b;
/* rgb */ color: rgb(51, 43, 11);
/* oklch */ color: oklch(29.0% 0.049 95.1);
Tailwind
colors: {
  custom: {
    50: '#6c644c',
    500: '#332b0b',
    950: '#000000',
  },
}
SCSS
$custom: #332b0b;
$custom-light: #6c644c;
$custom-dark: #000000;
JSON
{
  "hex": "#332b0b",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 48,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29037,
    "c": 0.04886,
    "h": 95.1
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#332B0B
secondary
#2A3870
accent
#62E840
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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