Skip to content

#332d13

a deep, vivid yellow · warm · closest name: Black

RGB
51, 45, 19
HSL
49°, 46%, 14%
CMYK
0, 12, 63, 80
Luminance
0.0263

At a glance

Every number on this page in one read: what #332d13 is made of, how bright it looks, and which way it leans.

Hex
#332d13
Hue
49°
yellow
Saturation
46%
vivid
Lightness
14%
deep
Brightness
20%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0263
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
White
13.77:1
Closest name
Black
ΔE2000 17.1
Where it sits
Hue49° of 360°
Saturation46%
Lightness14%
Temperature
Warm ← → Cool16% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#332d13
RGBrgb(51, 45, 19)
HSLhsl(49, 46%, 14%)
CMYKcmyk(0%, 12%, 63%, 80%)
LABlab(18.5 -1.5 17.6)
LCHlch(18.5 17.7 95.0)
OKLCHoklch(0.297 0.042 96.6)
Decimal3353875
Display P3color(display-p3 0.200 0.176 0.075)

Copy-ready code

/* CSS */
color: #332d13;
background-color: #332d13;
/* Tailwind (arbitrary) */
class="text-[#332d13] bg-[#332d13]"
/* SCSS */
$brand: #332d13;
/* SwiftUI */
Color(red: 0.200, green: 0.176, blue: 0.075)
/* Android */
Color.parseColor("#332d13")
/* Flutter */
Color(0xFF332D13)
/* Python / OpenCV (BGR) */
(19, 45, 51)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #332d13 · 13.77:1
Use #ffffffAAA at every size.
Aa
White text · 13.77:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.53:1
AA fail · AA large fail · AAA fail
Reading the other direction: #332d13 as text scores 13.77:1 on white and 1.53:1 on black.

Accessibility — WCAG contrast

Aa
#332d13 on white: 13.77:1
AA ✓ pass · AA-large · AAA
Aa
#332d13 on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #322C11
deuteranopia · #332E14
tritanopia · #372A27

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #332d13 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF9F5
#F5F3EA
#EBE6D1
#E1D7AD
#D1C384
#C2AF5C
#B29D42
#958337
#77692C
#574D23
#332d13
Base = 950Lightest = 50 · #FAF9F5Darkest = 950 · #332d13
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EA;
  --brand-200: #EBE6D1;
  --brand-300: #E1D7AD;
  --brand-400: #D1C384;
  --brand-500: #C2AF5C;
  --brand-600: #B29D42;
  --brand-700: #958337;
  --brand-800: #77692C;
  --brand-900: #574D23;
  --brand-950: #332d13;
  --brand: #332d13;
  --brand-ink: #ffffff;
}

Colors that work with #332d13

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF9F4
Tinted page background
Border#E9E2C4
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#122134
Second voice, not a rival
Dark variant#5D5223
Hover, pressed, headers
Light variant#F8F6EC
Selected rows, tints
Dark surface#242114
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #332d13

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#131933
Analogous left#331D13
Analogous right#293313
Split-complement 1#132933
Split-complement 2#1D1333
Triadic 1#13332D
Triadic 2#2D1333
Tetradic#13331D

RGB percentages

Red20.0%
Green17.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta11.8%
Yellow62.7%
Key (black)80.0%

Color previews

#332d13 text on a black background

contrast 1.53:1

Card sample

#332d13 text on a white background

contrast 13.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #332d13;
Background color
Panel with #332d13 background
background-color: #332d13;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #332d13;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(51, 45, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 45, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #332d13;
background: linear-gradient(135deg, #332d13, #243313);

Monochromatic scale

Palettes built from #332d13

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#332d13 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#332d13, answered

What color is #332d13?

#332d13 is a deep vivid yellow, closest to Black (ΔE2000 17.1). It sits at 49° on the hue wheel with 46% saturation and 14% lightness, which reads as warm.

What is the RGB value of #332d13?

rgb(51, 45, 19) — 51 red, 45 green and 19 blue out of 255, or 20% / 17.6% / 7.5% by channel.

Is #332d13 a light or a dark color?

It is a dark color. Relative luminance is 0.0263 and perceived brightness is 18%, so white text on it reaches 13.77:1.

Should I use black or white text on #332d13?

White. It scores 13.77:1 against #332d13, versus 1.53:1 for black — AAA at any size.

What is the complementary color of #332d13?

#131933 sits directly opposite on the wheel. Softer options are the split-complements #132933 and #1D1333, which give the same contrast with far less vibration.

What colors go well with #332d13?

For interface work: #FAF9F4 as the surface, #E9E2C4 for borders, #9B8C4B for secondary text, #122134 as an accent and #5D5223 for hover and pressed states. For a palette, the analogous pair #331D13 and #293313 stays calm, while #131933 is the loudest partner.

What is #332d13 in CMYK for printing?

cmyk(0%, 12%, 63%, 80%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #332d13 warm or cool?

Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #332213; nudged cooler, #2E3412.

Work with #332d13 in the Color Lab