Skip to content

#aeaf5d

a balanced, soft yellow · warm · closest name: Dark Khaki

RGB
174, 175, 93
HSL
61°, 34%, 53%
CMYK
1, 0, 47, 31
Luminance
0.4045

At a glance

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

Hex
#aeaf5d
Hue
61°
yellow
Saturation
34%
soft
Lightness
53%
balanced
Brightness
69%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4045
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.09:1
Closest name
Dark Khaki
ΔE2000 3.5
Where it sits
Hue61° of 360°
Saturation34%
Lightness53%
Temperature
Warm ← → Cool26% 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#aeaf5d
RGBrgb(174, 175, 93)
HSLhsl(61, 34%, 53%)
CMYKcmyk(1%, 0%, 47%, 31%)
LABlab(69.8 -12.2 41.6)
LCHlch(69.8 43.4 106.3)
OKLCHoklch(0.735 0.105 109.4)
Decimal11448157
Display P3color(display-p3 0.682 0.686 0.365)

Copy-ready code

/* CSS */
color: #aeaf5d;
background-color: #aeaf5d;
/* Tailwind (arbitrary) */
class="text-[#aeaf5d] bg-[#aeaf5d]"
/* SCSS */
$brand: #aeaf5d;
/* SwiftUI */
Color(red: 0.682, green: 0.686, blue: 0.365)
/* Android */
Color.parseColor("#aeaf5d")
/* Flutter */
Color(0xFFAEAF5D)
/* Python / OpenCV (BGR) */
(93, 175, 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 #aeaf5d · 9.09:1
Use #000000AAA at every size.
Aa
White text · 2.31:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #aeaf5d as text scores 2.31:1 on white and 9.09:1 on black.

Accessibility — WCAG contrast

Aa
#aeaf5d on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#aeaf5d on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BAA956
deuteranopia · #BBAC61
tritanopia · #B8A69C

Color scale — 50 to 950

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

#F9F9F5
#F4F4EC
#E8E8D4
#D9DAB4
#C7C78E
#aeaf5d
#A3A451
#888943
#6D6D36
#50502A
#32321A
Base = 500Lightest = 50 · #F9F9F5Darkest = 950 · #32321A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F4EC;
  --brand-200: #E8E8D4;
  --brand-300: #D9DAB4;
  --brand-400: #C7C78E;
  --brand-500: #aeaf5d;
  --brand-600: #A3A451;
  --brand-700: #888943;
  --brand-800: #6D6D36;
  --brand-900: #50502A;
  --brand-950: #32321A;
  --brand: #aeaf5d;
  --brand-ink: #000000;
}

Colors that work with #aeaf5d

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#FAFAF5
Tinted page background
Border#E4E4C8
Hairlines and dividers
Muted text#999A4C
Captions on the surface
Accent#586EB4
Second voice, not a rival
Dark variant#55552A
Hover, pressed, headers
Light variant#F6F7EE
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 #aeaf5d

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#5E5DAF
Analogous left#AF875D
Analogous right#85AF5D
Split-complement 1#5D85AF
Split-complement 2#875DAF
Triadic 1#5DAEAF
Triadic 2#AF5DAE
Tetradic#5DAF87

RGB percentages

Red68.2%
Green68.6%
Blue36.5%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow46.9%
Key (black)31.4%

Color previews

#aeaf5d text on a black background

contrast 9.09:1

Card sample

#aeaf5d text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 175, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 175, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aeaf5d;
background: linear-gradient(135deg, #aeaf5d, #77AF5D);

Monochromatic scale

Palettes built from #aeaf5d

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.

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

#aeaf5d, answered

What color is #aeaf5d?

#aeaf5d is a balanced soft yellow, closest to Dark Khaki (ΔE2000 3.5). It sits at 61° on the hue wheel with 34% saturation and 53% lightness, which reads as warm.

What is the RGB value of #aeaf5d?

rgb(174, 175, 93) — 174 red, 175 green and 93 blue out of 255, or 68.2% / 68.6% / 36.5% by channel.

Is #aeaf5d a light or a dark color?

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

Should I use black or white text on #aeaf5d?

Black. It scores 9.09:1 against #aeaf5d, versus 2.31:1 for white — AAA at any size.

What is the complementary color of #aeaf5d?

#5E5DAF sits directly opposite on the wheel. Softer options are the split-complements #5D85AF and #875DAF, which give the same contrast with far less vibration.

What colors go well with #aeaf5d?

For interface work: #FAFAF5 as the surface, #E4E4C8 for borders, #999A4C for secondary text, #586EB4 as an accent and #55552A for hover and pressed states. For a palette, the analogous pair #AF875D and #85AF5D stays calm, while #5E5DAF is the loudest partner.

What is #aeaf5d in CMYK for printing?

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

Is #aeaf5d warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF925D; nudged cooler, #90B15A.

Work with #aeaf5d in the Color Lab