Skip to content

#dec033

a balanced, vivid yellow · warm · closest name: Gold

RGB
222, 192, 51
HSL
50°, 72%, 54%
CMYK
0, 14, 77, 13
Luminance
0.5347

At a glance

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

Hex
#dec033
Hue
50°
yellow
Saturation
72%
vivid
Lightness
54%
balanced
Brightness
87%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5347
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.69:1
Closest name
Gold
ΔE2000 7.2
Where it sits
Hue50° of 360°
Saturation72%
Lightness54%
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#dec033
RGBrgb(222, 192, 51)
HSLhsl(50, 72%, 54%)
CMYKcmyk(0%, 14%, 77%, 13%)
LABlab(78.2 -3.4 69.6)
LCHlch(78.2 69.7 92.8)
OKLCHoklch(0.811 0.153 96.4)
Decimal14598195
Display P3color(display-p3 0.871 0.753 0.200)

Copy-ready code

/* CSS */
color: #dec033;
background-color: #dec033;
/* Tailwind (arbitrary) */
class="text-[#dec033] bg-[#dec033]"
/* SCSS */
$brand: #dec033;
/* SwiftUI */
Color(red: 0.871, green: 0.753, blue: 0.200)
/* Android */
Color.parseColor("#dec033")
/* Flutter */
Color(0xFFDEC033)
/* Python / OpenCV (BGR) */
(51, 192, 222)

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

Accessibility — WCAG contrast

Aa
#dec033 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dec033 on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D4BC13
deuteranopia · #DCC53D
tritanopia · #F0B1A5

Color scale — 50 to 950

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

#FCFAF3
#F8F5E7
#F3ECC9
#EFE19E
#E8D26E
#dec033
#D3B422
#B0961C
#8D7817
#665815
#40370D
Base = 500Lightest = 50 · #FCFAF3Darkest = 950 · #40370D
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F5E7;
  --brand-200: #F3ECC9;
  --brand-300: #EFE19E;
  --brand-400: #E8D26E;
  --brand-500: #dec033;
  --brand-600: #D3B422;
  --brand-700: #B0961C;
  --brand-800: #8D7817;
  --brand-900: #665815;
  --brand-950: #40370D;
  --brand: #dec033;
  --brand-ink: #000000;
}

Colors that work with #dec033

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

Text on it#000000
Black wins here
Surface#FAF9F4
Tinted page background
Border#EDE5C0
Hairlines and dividers
Muted text#9B8D4B
Captions on the surface
Accent#2E7BE3
Second voice, not a rival
Dark variant#6E5E12
Hover, pressed, headers
Light variant#FBF8E9
Selected rows, tints
Dark surface#242214
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 #dec033

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#3351DE
Analogous left#DE6A33
Analogous right#A6DE33
Split-complement 1#33A6DE
Split-complement 2#6A33DE
Triadic 1#33DEC0
Triadic 2#C033DE
Tetradic#33DE6A

RGB percentages

Red87.1%
Green75.3%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta13.5%
Yellow77.0%
Key (black)12.9%

Color previews

#dec033 text on a black background

contrast 11.69:1

Card sample

#dec033 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 192, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 192, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dec033;
background: linear-gradient(135deg, #dec033, #8ADE33);

Monochromatic scale

Palettes built from #dec033

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.

#dec033 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.

#dec033, answered

What color is #dec033?

#dec033 is a balanced vivid yellow, closest to Gold (ΔE2000 7.2). It sits at 50° on the hue wheel with 72% saturation and 54% lightness, which reads as warm.

What is the RGB value of #dec033?

rgb(222, 192, 51) — 222 red, 192 green and 51 blue out of 255, or 87.1% / 75.3% / 20% by channel.

Is #dec033 a light or a dark color?

It is a light color. Relative luminance is 0.5347 and perceived brightness is 75%, so black text on it reaches 11.69:1.

Should I use black or white text on #dec033?

Black. It scores 11.69:1 against #dec033, versus 1.80:1 for white — AAA at any size.

What is the complementary color of #dec033?

#3351DE sits directly opposite on the wheel. Softer options are the split-complements #33A6DE and #6A33DE, which give the same contrast with far less vibration.

What colors go well with #dec033?

For interface work: #FAF9F4 as the surface, #EDE5C0 for borders, #9B8D4B for secondary text, #2E7BE3 as an accent and #6E5E12 for hover and pressed states. For a palette, the analogous pair #DE6A33 and #A6DE33 stays calm, while #3351DE is the loudest partner.

What is #dec033 in CMYK for printing?

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

Is #dec033 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 #DE9933; nudged cooler, #BFE030.

Work with #dec033 in the Color Lab