Skip to content

#aeb621

a dark, vivid yellow · warm · closest name: Dark Khaki

RGB
174, 182, 33
HSL
63°, 69%, 42%
CMYK
4, 0, 82, 29
Luminance
0.4256

At a glance

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

Hex
#aeb621
Hue
63°
yellow
Saturation
69%
vivid
Lightness
42%
dark
Brightness
71%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4256
WCAG relative
Temperature
Warm
28/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.51:1
Closest name
Dark Khaki
ΔE2000 8.9
Where it sits
Hue63° of 360°
Saturation69%
Lightness42%
Temperature
Warm ← → Cool28% 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#aeb621
RGBrgb(174, 182, 33)
HSLhsl(63, 69%, 42%)
CMYKcmyk(4%, 0%, 82%, 29%)
LABlab(71.3 -19.6 67.2)
LCHlch(71.3 70.0 106.2)
OKLCHoklch(0.746 0.158 112.9)
Decimal11449889
Display P3color(display-p3 0.682 0.714 0.129)

Copy-ready code

/* CSS */
color: #aeb621;
background-color: #aeb621;
/* Tailwind (arbitrary) */
class="text-[#aeb621] bg-[#aeb621]"
/* SCSS */
$brand: #aeb621;
/* SwiftUI */
Color(red: 0.682, green: 0.714, blue: 0.129)
/* Android */
Color.parseColor("#aeb621")
/* Flutter */
Color(0xFFAEB621)
/* Python / OpenCV (BGR) */
(33, 182, 174)

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

Accessibility — WCAG contrast

Aa
#aeb621 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#aeb621 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4AD00
deuteranopia · #C4B030
tritanopia · #BAAA9B

Color scale — 50 to 950

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

#FBFBF3
#F7F8E7
#F0F2CA
#EAEEA0
#DFE571
#D4DD41
#C6CF26
#aeb621
#848A19
#606416
#3C3F0E
Base = 700Lightest = 50 · #FBFBF3Darkest = 950 · #3C3F0E
:root {
  --brand-50: #FBFBF3;
  --brand-100: #F7F8E7;
  --brand-200: #F0F2CA;
  --brand-300: #EAEEA0;
  --brand-400: #DFE571;
  --brand-500: #D4DD41;
  --brand-600: #C6CF26;
  --brand-700: #aeb621;
  --brand-800: #848A19;
  --brand-900: #606416;
  --brand-950: #3C3F0E;
  --brand: #aeb621;
  --brand-ink: #000000;
}

Colors that work with #aeb621

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#EAEDC0
Hairlines and dividers
Muted text#979B4B
Captions on the surface
Accent#1D3CBA
Second voice, not a rival
Dark variant#676C14
Hover, pressed, headers
Light variant#FAFBE9
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 #aeb621

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
  • Headers, footers and dark-mode surfaces
  • 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
  • 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#2921B6
Analogous left#B67421
Analogous right#64B621
Split-complement 1#2164B6
Split-complement 2#7421B6
Triadic 1#21AEB6
Triadic 2#B621AE
Tetradic#21B674

RGB percentages

Red68.2%
Green71.4%
Blue12.9%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow81.9%
Key (black)28.6%

Color previews

#aeb621 text on a black background

contrast 9.51:1

Card sample

#aeb621 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 182, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 182, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aeb621;
background: linear-gradient(135deg, #aeb621, #4BB621);

Monochromatic scale

Palettes built from #aeb621

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.

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

#aeb621, answered

What color is #aeb621?

#aeb621 is a dark vivid yellow, closest to Dark Khaki (ΔE2000 8.9). It sits at 63° on the hue wheel with 69% saturation and 42% lightness, which reads as warm.

What is the RGB value of #aeb621?

rgb(174, 182, 33) — 174 red, 182 green and 33 blue out of 255, or 68.2% / 71.4% / 12.9% by channel.

Is #aeb621 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4256 and perceived brightness is 66%, so black text on it reaches 9.51:1.

Should I use black or white text on #aeb621?

Black. It scores 9.51:1 against #aeb621, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #aeb621?

#2921B6 sits directly opposite on the wheel. Softer options are the split-complements #2164B6 and #7421B6, which give the same contrast with far less vibration.

What colors go well with #aeb621?

For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #979B4B for secondary text, #1D3CBA as an accent and #676C14 for hover and pressed states. For a palette, the analogous pair #B67421 and #64B621 stays calm, while #2921B6 is the loudest partner.

What is #aeb621 in CMYK for printing?

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

Is #aeb621 warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B68721; nudged cooler, #78B81F.

Work with #aeb621 in the Color Lab