#332C0B#332C0B

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

Color values

HEX#332C0B
RGBrgb(51, 44, 11)
HSLhsl(50, 65%, 12%)
HSVhsv(50, 78%, 20%)
CMYKcmyk(0%, 13.7%, 78.4%, 80%)
CIE-LABlab(18.05, -1.60, 21.36)
CIE-LCHlch(18.05, 21.42, 94.28°)
OKLaboklab(29.3% -0.0062 0.0494)
OKLCHoklch(29.3% 0.05 97.2)
XYZxyz(2.3264, 2.5294, 0.6822)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332C0B #0B1233
analogous
#33180B #332C0B #26330B
triadic
#332C0B #0B332C #2C0B33
tetradic
#332C0B #0B3318 #0B1233 #330B26
square
#332C0B #0B3318 #0B1233 #330B26
split-complementary
#332C0B #0B2633 #180B33
monochromatic
#191605 #191605 #332C0B #655716 #988321

Accessibility & contrast

On white

13.95
#332C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#332C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332C0B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332C0B#FFFFFF#000000##FFFFFF
##332C0B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B07
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#382825
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #332c0b;
/* rgb */ color: rgb(51, 44, 11);
/* oklch */ color: oklch(29.3% 0.050 97.2);
Tailwind
colors: {
  custom: {
    50: '#6c644c',
    500: '#332c0b',
    950: '#000000',
  },
}
SCSS
$custom: #332c0b;
$custom-light: #6c644c;
$custom-dark: #000000;
JSON
{
  "hex": "#332c0b",
  "rgb": {
    "r": 51,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 49.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29301,
    "c": 0.04981,
    "h": 97.2
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#332C0B
secondary
#2A3670
accent
#5EE840
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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