#332D0B#332D0B

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

Color values

HEX#332D0B
RGBrgb(51, 45, 11)
HSLhsl(51, 65%, 12%)
HSVhsv(51, 78%, 20%)
CMYKcmyk(0%, 11.8%, 78.4%, 80%)
CIE-LABlab(18.39, -2.26, 21.76)
CIE-LCHlch(18.39, 21.88, 95.94°)
OKLaboklab(29.57% -0.0081 0.0502)
OKLCHoklch(29.57% 0.051 99.2)
XYZxyz(2.3641, 2.6048, 0.6948)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D0B #0B1133
analogous
#33190B #332D0B #25330B
triadic
#332D0B #0B332D #2D0B33
tetradic
#332D0B #0B3319 #0B1133 #330B25
square
#332D0B #0B3319 #0B1133 #330B25
split-complementary
#332D0B #0B2533 #190B33
monochromatic
#191605 #191605 #332D0B #655916 #988621

Accessibility & contrast

On white

13.81
#332D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #332D0B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332D0B#FFFFFF#000000##FFFFFF
##332D0B1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d0b;
/* rgb */ color: rgb(51, 45, 11);
/* oklch */ color: oklch(29.6% 0.051 99.2);
Tailwind
colors: {
  custom: {
    50: '#6c654c',
    500: '#332d0b',
    950: '#000000',
  },
}
SCSS
$custom: #332d0b;
$custom-light: #6c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#332d0b",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 11
  },
  "hsl": {
    "h": 51,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29567,
    "c": 0.05081,
    "h": 99.2
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#332D0B
secondary
#2A3570
accent
#59E840
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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