Skip to content

#acaf79

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

RGB
172, 175, 121
HSL
63°, 25%, 58%
CMYK
2, 0, 31, 31
Luminance
0.4081

At a glance

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

Hex
#acaf79
Hue
63°
yellow
Saturation
25%
soft
Lightness
58%
balanced
Brightness
69%
HSV value
Perceived
66%
weighted brightness
Luminance
0.4081
WCAG relative
Temperature
Warm
34/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
9.16:1
Closest name
Dark Khaki
ΔE2000 5.9
Where it sits
Hue63° of 360°
Saturation25%
Lightness58%
Temperature
Warm ← → Cool34% 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#acaf79
RGBrgb(172, 175, 121)
HSLhsl(63, 25%, 58%)
CMYKcmyk(2%, 0%, 31%, 31%)
LABlab(70.0 -9.8 27.4)
LCHlch(70.0 29.1 109.7)
OKLCHoklch(0.738 0.073 110.7)
Decimal11317113
Display P3color(display-p3 0.675 0.686 0.475)

Copy-ready code

/* CSS */
color: #acaf79;
background-color: #acaf79;
/* Tailwind (arbitrary) */
class="text-[#acaf79] bg-[#acaf79]"
/* SCSS */
$brand: #acaf79;
/* SwiftUI */
Color(red: 0.675, green: 0.686, blue: 0.475)
/* Android */
Color.parseColor("#acaf79")
/* Flutter */
Color(0xFFACAF79)
/* Python / OpenCV (BGR) */
(121, 175, 172)

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

Accessibility — WCAG contrast

Aa
#acaf79 on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#acaf79 on black: 9.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7AA75
deuteranopia · #B8AC7B
tritanopia · #B3A9A1

Color scale — 50 to 950

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

#F9F9F6
#F2F3ED
#E4E5D6
#D3D5B9
#BEC096
#acaf79
#96995C
#7D804C
#64663D
#4A4B2F
#2E2F1D
Base = 500Lightest = 50 · #F9F9F6Darkest = 950 · #2E2F1D
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F2F3ED;
  --brand-200: #E4E5D6;
  --brand-300: #D3D5B9;
  --brand-400: #BEC096;
  --brand-500: #acaf79;
  --brand-600: #96995C;
  --brand-700: #7D804C;
  --brand-800: #64663D;
  --brand-900: #4A4B2F;
  --brand-950: #2E2F1D;
  --brand: #acaf79;
  --brand-ink: #000000;
}

Colors that work with #acaf79

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#F9F9F5
Tinted page background
Border#DFE0CC
Hairlines and dividers
Muted text#8C9056
Captions on the surface
Accent#7581B3
Second voice, not a rival
Dark variant#4E5030
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#222315
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 #acaf79

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#7C79AF
Analogous left#AF9779
Analogous right#91AF79
Split-complement 1#7991AF
Split-complement 2#9779AF
Triadic 1#79ACAF
Triadic 2#AF79AC
Tetradic#79AF97

RGB percentages

Red67.5%
Green68.6%
Blue47.5%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow30.9%
Key (black)31.4%

Color previews

#acaf79 text on a black background

contrast 9.16:1

Card sample

#acaf79 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 175, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf79;
background: linear-gradient(135deg, #acaf79, #88AF79);

Monochromatic scale

Palettes built from #acaf79

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.

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

#acaf79, answered

What color is #acaf79?

#acaf79 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 5.9). It sits at 63° on the hue wheel with 25% saturation and 58% lightness, which reads as warm.

What is the RGB value of #acaf79?

rgb(172, 175, 121) — 172 red, 175 green and 121 blue out of 255, or 67.5% / 68.6% / 47.5% by channel.

Is #acaf79 a light or a dark color?

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

Should I use black or white text on #acaf79?

Black. It scores 9.16:1 against #acaf79, versus 2.29:1 for white — AAA at any size.

What is the complementary color of #acaf79?

#7C79AF sits directly opposite on the wheel. Softer options are the split-complements #7991AF and #9779AF, which give the same contrast with far less vibration.

What colors go well with #acaf79?

For interface work: #F9F9F5 as the surface, #DFE0CC for borders, #8C9056 for secondary text, #7581B3 as an accent and #4E5030 for hover and pressed states. For a palette, the analogous pair #AF9779 and #91AF79 stays calm, while #7C79AF is the loudest partner.

What is #acaf79 in CMYK for printing?

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

Is #acaf79 warm or cool?

Warm — it scores 34 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF9E79; nudged cooler, #98B177.

Work with #acaf79 in the Color Lab