Skip to content

#efaa21

a balanced, electric orange · warm · closest name: Goldenrod

RGB
239, 170, 33
HSL
40°, 87%, 53%
CMYK
0, 29, 86, 6
Luminance
0.4721

At a glance

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

Hex
#efaa21
Hue
40°
orange
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4721
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
10.44:1
Closest name
Goldenrod
ΔE2000 4.6
Where it sits
Hue40° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool8% 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#efaa21
RGBrgb(239, 170, 33)
HSLhsl(40, 87%, 53%)
CMYKcmyk(0%, 29%, 86%, 6%)
LABlab(74.3 15.0 72.3)
LCHlch(74.3 73.8 78.3)
OKLCHoklch(0.784 0.156 77.8)
Decimal15706657
Display P3color(display-p3 0.937 0.667 0.129)

Copy-ready code

/* CSS */
color: #efaa21;
background-color: #efaa21;
/* Tailwind (arbitrary) */
class="text-[#efaa21] bg-[#efaa21]"
/* SCSS */
$brand: #efaa21;
/* SwiftUI */
Color(red: 0.937, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#efaa21")
/* Flutter */
Color(0xFFEFAA21)
/* Python / OpenCV (BGR) */
(33, 170, 239)

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

Accessibility — WCAG contrast

Aa
#efaa21 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#efaa21 on black: 10.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4AD00
deuteranopia · #D4BE29
tritanopia · #FF9792

Color scale — 50 to 950

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

#FDF9F2
#FAF3E5
#F7E6C4
#F7D796
#F4C362
#efaa21
#E49D10
#BE830E
#98690B
#6E4D0C
#453008
Base = 500Lightest = 50 · #FDF9F2Darkest = 950 · #453008
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FAF3E5;
  --brand-200: #F7E6C4;
  --brand-300: #F7D796;
  --brand-400: #F4C362;
  --brand-500: #efaa21;
  --brand-600: #E49D10;
  --brand-700: #BE830E;
  --brand-800: #98690B;
  --brand-900: #6E4D0C;
  --brand-950: #453008;
  --brand: #efaa21;
  --brand-ink: #000000;
}

Colors that work with #efaa21

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#0975C3
Second voice, not a rival
Dark variant#775209
Hover, pressed, headers
Light variant#FDF6E7
Selected rows, tints
Dark surface#241F14
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 #efaa21

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
  • 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#2166EF
Analogous left#EF4321
Analogous right#CDEF21
Split-complement 1#21CDEF
Split-complement 2#4321EF
Triadic 1#21EFAA
Triadic 2#AA21EF
Tetradic#21EF43

RGB percentages

Red93.7%
Green66.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta28.9%
Yellow86.2%
Key (black)6.3%

Color previews

#efaa21 text on a black background

contrast 10.44:1

Card sample

#efaa21 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #efaa21;
background: linear-gradient(135deg, #efaa21, #ABEF21);

Monochromatic scale

Palettes built from #efaa21

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.

#efaa21 in the real world

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

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#efaa21, answered

What color is #efaa21?

#efaa21 is a balanced electric orange, closest to Goldenrod (ΔE2000 4.6). It sits at 40° on the hue wheel with 87% saturation and 53% lightness, which reads as warm.

What is the RGB value of #efaa21?

rgb(239, 170, 33) — 239 red, 170 green and 33 blue out of 255, or 93.7% / 66.7% / 12.9% by channel.

Is #efaa21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4721 and perceived brightness is 72%, so black text on it reaches 10.44:1.

Should I use black or white text on #efaa21?

Black. It scores 10.44:1 against #efaa21, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #efaa21?

#2166EF sits directly opposite on the wheel. Softer options are the split-complements #21CDEF and #4321EF, which give the same contrast with far less vibration.

What colors go well with #efaa21?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #0975C3 as an accent and #775209 for hover and pressed states. For a palette, the analogous pair #EF4321 and #CDEF21 stays calm, while #2166EF is the loudest partner.

What is #efaa21 in CMYK for printing?

cmyk(0%, 29%, 86%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #efaa21 warm or cool?

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

Work with #efaa21 in the Color Lab