#332B0A#332B0A

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

Color values

HEX#332B0A
RGBrgb(51, 43, 10)
HSLhsl(48, 67%, 12%)
HSVhsv(48, 80%, 20%)
CMYKcmyk(0%, 15.7%, 80.4%, 80%)
CIE-LABlab(17.71, -1.01, 21.37)
CIE-LCHlch(17.71, 21.39, 92.69°)
OKLaboklab(29.03% -0.0047 0.0496)
OKLCHoklch(29.03% 0.05 95.4)
XYZxyz(2.2840, 2.4536, 0.6404)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332B0A #0A1233
analogous
#33170A #332B0A #27330A
triadic
#332B0A #0A332B #2B0A33
tetradic
#332B0A #0A3317 #0A1233 #330A27
square
#332B0A #0A3317 #0A1233 #330A27
split-complementary
#332B0A #0A2733 #170A33
monochromatic
#1A1605 #1A1605 #332B0A #665614 #99811E

Accessibility & contrast

On white

14.09
#332B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332B0A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332B0A#FFFFFF#000000##FFFFFF
##332B0A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332b0a;
/* rgb */ color: rgb(51, 43, 10);
/* oklch */ color: oklch(29.0% 0.050 95.4);
Tailwind
colors: {
  custom: {
    50: '#6c644b',
    500: '#332b0a',
    950: '#000000',
  },
}
SCSS
$custom: #332b0a;
$custom-light: #6c644b;
$custom-dark: #000000;
JSON
{
  "hex": "#332b0a",
  "rgb": {
    "r": 51,
    "g": 43,
    "b": 10
  },
  "hsl": {
    "h": 48.293,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29026,
    "c": 0.04981,
    "h": 95.4
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#332B0A
secondary
#283670
accent
#5FEA3E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #332B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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