Skip to content

#302d13

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

RGB
48, 45, 19
HSL
54°, 43%, 13%
CMYK
0, 6, 60, 81
Luminance
0.0255

At a glance

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

Hex
#302d13
Hue
54°
yellow
Saturation
43%
soft
Lightness
13%
deep
Brightness
19%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0255
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Soft
Best ink
White
13.90:1
Closest name
Black
ΔE2000 17
Where it sits
Hue54° of 360°
Saturation43%
Lightness13%
Temperature
Warm ← → Cool20% 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#302d13
RGBrgb(48, 45, 19)
HSLhsl(54, 43%, 13%)
CMYKcmyk(0%, 6%, 60%, 81%)
LABlab(18.1 -3.1 17.2)
LCHlch(18.1 17.4 100.3)
OKLCHoklch(0.293 0.042 102.7)
Decimal3157267
Display P3color(display-p3 0.188 0.176 0.075)

Copy-ready code

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

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 #302d13 · 13.90:1
Use #ffffffAAA at every size.
Aa
White text · 13.90:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.51:1
AA fail · AA large fail · AAA fail
Reading the other direction: #302d13 as text scores 13.90:1 on white and 1.51:1 on black.

Accessibility — WCAG contrast

Aa
#302d13 on white: 13.90:1
AA ✓ pass · AA-large · AAA
Aa
#302d13 on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #312B11
deuteranopia · #322D14
tritanopia · #342A27

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #302d13 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
#F5F4EB
#EAE8D1
#DFDAAF
#CFC886
#BFB55E
#AFA445
#92893A
#756E2E
#565125
#302d13
Base = 950Lightest = 50 · #FAF9F5Darkest = 950 · #302d13
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F4EB;
  --brand-200: #EAE8D1;
  --brand-300: #DFDAAF;
  --brand-400: #CFC886;
  --brand-500: #BFB55E;
  --brand-600: #AFA445;
  --brand-700: #92893A;
  --brand-800: #756E2E;
  --brand-900: #565125;
  --brand-950: #302d13;
  --brand: #302d13;
  --brand-ink: #ffffff;
}

Colors that work with #302d13

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#FAFAF4
Tinted page background
Border#E8E4C5
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#121D31
Second voice, not a rival
Dark variant#5B5624
Hover, pressed, headers
Light variant#F8F7ED
Selected rows, tints
Dark surface#242314
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 #302d13

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#131630
Analogous left#301E13
Analogous right#243013
Split-complement 1#132430
Split-complement 2#1E1330
Triadic 1#13302D
Triadic 2#2D1330
Tetradic#13301E

RGB percentages

Red18.8%
Green17.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow60.4%
Key (black)81.2%

Color previews

#302d13 text on a black background

contrast 1.51:1

Card sample

#302d13 text on a white background

contrast 13.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #302d13

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.

#302d13 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.

#302d13, answered

What color is #302d13?

#302d13 is a deep soft yellow, closest to Black (ΔE2000 17). It sits at 54° on the hue wheel with 43% saturation and 13% lightness, which reads as warm.

What is the RGB value of #302d13?

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

Is #302d13 a light or a dark color?

It is a dark color. Relative luminance is 0.0255 and perceived brightness is 17%, so white text on it reaches 13.90:1.

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

White. It scores 13.90:1 against #302d13, versus 1.51:1 for black — AAA at any size.

What is the complementary color of #302d13?

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

What colors go well with #302d13?

For interface work: #FAFAF4 as the surface, #E8E4C5 for borders, #9B934B for secondary text, #121D31 as an accent and #5B5624 for hover and pressed states. For a palette, the analogous pair #301E13 and #243013 stays calm, while #131630 is the loudest partner.

What is #302d13 in CMYK for printing?

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

Is #302d13 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #302213; nudged cooler, #293112.

Work with #302d13 in the Color Lab