#332D0D#332D0D

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

Color values

HEX#332D0D
RGBrgb(51, 45, 13)
HSLhsl(51, 59%, 13%)
HSVhsv(51, 75%, 20%)
CMYKcmyk(0%, 11.8%, 74.5%, 80%)
CIE-LABlab(18.41, -2.10, 20.88)
CIE-LCHlch(18.41, 20.98, 95.75°)
OKLaboklab(29.59% -0.0074 0.0483)
OKLCHoklch(29.59% 0.049 98.7)
XYZxyz(2.3764, 2.6097, 0.7592)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D0D #0D1333
analogous
#331A0D #332D0D #26330D
triadic
#332D0D #0D332D #2D0D33
tetradic
#332D0D #0D331A #0D1333 #330D26
square
#332D0D #0D331A #0D1333 #330D26
split-complementary
#332D0D #0D2633 #1A0D33
monochromatic
#181606 #181606 #332D0D #645819 #958326

Accessibility & contrast

On white

13.80
#332D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332D0D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D0D#FFFFFF#000000##FFFFFF
##332D0D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #332d0d;
/* rgb */ color: rgb(51, 45, 13);
/* oklch */ color: oklch(29.6% 0.049 98.7);
Tailwind
colors: {
  custom: {
    50: '#6c654d',
    500: '#332d0d',
    950: '#000000',
  },
}
SCSS
$custom: #332d0d;
$custom-light: #6c654d;
$custom-dark: #000000;
JSON
{
  "hex": "#332d0d",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 50.526,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29591,
    "c": 0.04882,
    "h": 98.7
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#332D0D
secondary
#2E386E
accent
#5EE345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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