Skip to content

#e2de45

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

RGB
226, 222, 69
HSL
59°, 73%, 58%
CMYK
0, 2, 70, 11
Luminance
0.6884

At a glance

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

Hex
#e2de45
Hue
59°
yellow
Saturation
73%
vivid
Lightness
58%
balanced
Brightness
89%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6884
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
14.77:1
Closest name
Khaki
ΔE2000 7.9
Where it sits
Hue59° of 360°
Saturation73%
Lightness58%
Temperature
Warm ← → Cool24% 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#e2de45
RGBrgb(226, 222, 69)
HSLhsl(59, 73%, 58%)
CMYKcmyk(0%, 2%, 70%, 11%)
LABlab(86.4 -16.0 71.4)
LCHlch(86.4 73.2 102.6)
OKLCHoklch(0.877 0.167 107.9)
Decimal14868037
Display P3color(display-p3 0.886 0.871 0.271)

Copy-ready code

/* CSS */
color: #e2de45;
background-color: #e2de45;
/* Tailwind (arbitrary) */
class="text-[#e2de45] bg-[#e2de45]"
/* SCSS */
$brand: #e2de45;
/* SwiftUI */
Color(red: 0.886, green: 0.871, blue: 0.271)
/* Android */
Color.parseColor("#e2de45")
/* Flutter */
Color(0xFFE2DE45)
/* Python / OpenCV (BGR) */
(69, 222, 226)

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

Accessibility — WCAG contrast

Aa
#e2de45 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#e2de45 on black: 14.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F0D52B
deuteranopia · #F3DB50
tritanopia · #F2D0C0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e2de45 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.

#FCFBF3
#F8F8E7
#F3F2C9
#F0EE9E
#E8E56D
#e2de45
#D4CF21
#B0AD1C
#8D8A16
#666414
#403F0D
Base = 500Lightest = 50 · #FCFBF3Darkest = 950 · #403F0D
:root {
  --brand-50: #FCFBF3;
  --brand-100: #F8F8E7;
  --brand-200: #F3F2C9;
  --brand-300: #F0EE9E;
  --brand-400: #E8E56D;
  --brand-500: #e2de45;
  --brand-600: #D4CF21;
  --brand-700: #B0AD1C;
  --brand-800: #8D8A16;
  --brand-900: #666414;
  --brand-950: #403F0D;
  --brand: #e2de45;
  --brand-ink: #000000;
}

Colors that work with #e2de45

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#FAFAF4
Tinted page background
Border#EDECC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#416EE6
Second voice, not a rival
Dark variant#6E6C11
Hover, pressed, headers
Light variant#FCFBE9
Selected rows, tints
Dark surface#242414
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 #e2de45

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#4549E2
Analogous left#E28F45
Analogous right#97E245
Split-complement 1#4597E2
Split-complement 2#8F45E2
Triadic 1#45E2DE
Triadic 2#DE45E2
Tetradic#45E28F

RGB percentages

Red88.6%
Green87.1%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow69.5%
Key (black)11.4%

Color previews

#e2de45 text on a black background

contrast 14.77:1

Card sample

#e2de45 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(226, 222, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 222, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2de45;
background: linear-gradient(135deg, #e2de45, #7DE245);

Monochromatic scale

Palettes built from #e2de45

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.

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

#e2de45, answered

What color is #e2de45?

#e2de45 is a balanced vivid yellow, closest to Khaki (ΔE2000 7.9). It sits at 59° on the hue wheel with 73% saturation and 58% lightness, which reads as warm.

What is the RGB value of #e2de45?

rgb(226, 222, 69) — 226 red, 222 green and 69 blue out of 255, or 88.6% / 87.1% / 27.1% by channel.

Is #e2de45 a light or a dark color?

It is a light color. Relative luminance is 0.6884 and perceived brightness is 83%, so black text on it reaches 14.77:1.

Should I use black or white text on #e2de45?

Black. It scores 14.77:1 against #e2de45, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #e2de45?

#4549E2 sits directly opposite on the wheel. Softer options are the split-complements #4597E2 and #8F45E2, which give the same contrast with far less vibration.

What colors go well with #e2de45?

For interface work: #FAFAF4 as the surface, #EDECC0 for borders, #9B994B for secondary text, #416EE6 as an accent and #6E6C11 for hover and pressed states. For a palette, the analogous pair #E28F45 and #97E245 stays calm, while #4549E2 is the loudest partner.

What is #e2de45 in CMYK for printing?

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

Is #e2de45 warm or cool?

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

Work with #e2de45 in the Color Lab