#332D0E#332D0E

#332D0E is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.6% C 0.048 H 98.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#332D0E
RGBrgb(51, 45, 14)
HSLhsl(50, 57%, 13%)
HSVhsv(50, 73%, 20%)
CMYKcmyk(0%, 11.8%, 72.5%, 80%)
CIE-LABlab(18.42, -2.02, 20.40)
CIE-LCHlch(18.42, 20.50, 95.65°)
OKLaboklab(29.6% -0.007 0.0473)
OKLCHoklch(29.6% 0.048 98.4)
XYZxyz(2.3830, 2.6124, 0.7941)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D0E #0E1433
analogous
#331A0E #332D0E #26330E
triadic
#332D0E #0E332D #2D0E33
tetradic
#332D0E #0E331A #0E1433 #330E26
square
#332D0E #0E331A #0E1433 #330E26
split-complementary
#332D0E #0E2633 #1A0E33
monochromatic
#181507 #181507 #332D0E #63571B #938228

Accessibility & contrast

On white

13.79
#332D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#332D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332D0E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D0E#FFFFFF#000000##FFFFFF
##332D0E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0B
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#372926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d0e;
/* rgb */ color: rgb(51, 45, 14);
/* oklch */ color: oklch(29.6% 0.048 98.4);
Tailwind
colors: {
  custom: {
    50: '#6c654e',
    500: '#332d0e',
    950: '#000000',
  },
}
SCSS
$custom: #332d0e;
$custom-light: #6c654e;
$custom-dark: #000000;
JSON
{
  "hex": "#332d0e",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 50.27,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29604,
    "c": 0.04777,
    "h": 98.4
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#332D0E
secondary
#2F396E
accent
#60E048
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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