#332D0A#332D0A

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

Color values

HEX#332D0A
RGBrgb(51, 45, 10)
HSLhsl(51, 67%, 12%)
HSVhsv(51, 80%, 20%)
CMYKcmyk(0%, 11.8%, 80.4%, 80%)
CIE-LABlab(18.38, -2.34, 22.17)
CIE-LCHlch(18.38, 22.29, 96.02°)
OKLaboklab(29.56% -0.0085 0.0511)
OKLCHoklch(29.56% 0.052 99.4)
XYZxyz(2.3585, 2.6026, 0.6652)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332D0A #0A1033
analogous
#33190A #332D0A #25330A
triadic
#332D0A #0A332D #2D0A33
tetradic
#332D0A #0A3319 #0A1033 #330A25
square
#332D0A #0A3319 #0A1033 #330A25
split-complementary
#332D0A #0A2533 #190A33
monochromatic
#1A1705 #1A1705 #332D0A #665A14 #99871E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##332D0A#FFFFFF#000000##FFFFFF
##332D0A1.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)
#322C06
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#382926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #332d0a;
/* rgb */ color: rgb(51, 45, 10);
/* oklch */ color: oklch(29.6% 0.052 99.4);
Tailwind
colors: {
  custom: {
    50: '#6c654c',
    500: '#332d0a',
    950: '#000000',
  },
}
SCSS
$custom: #332d0a;
$custom-light: #6c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#332d0a",
  "rgb": {
    "r": 51,
    "g": 45,
    "b": 10
  },
  "hsl": {
    "h": 51.22,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29556,
    "c": 0.05175,
    "h": 99.4
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#332D0A
secondary
#283370
accent
#57EA3E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #332D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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