Skip to content

#acaf46

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

RGB
172, 175, 70
HSL
62°, 43%, 48%
CMYK
2, 0, 60, 31
Luminance
0.3987

At a glance

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

Hex
#acaf46
Hue
62°
yellow
Saturation
43%
soft
Lightness
48%
balanced
Brightness
69%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3987
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
8.97:1
Closest name
Dark Khaki
ΔE2000 5.7
Where it sits
Hue62° of 360°
Saturation43%
Lightness48%
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#acaf46
RGBrgb(172, 175, 70)
HSLhsl(62, 43%, 48%)
CMYKcmyk(2%, 0%, 60%, 31%)
LABlab(69.4 -15.0 52.0)
LCHlch(69.4 54.2 106.1)
OKLCHoklch(0.731 0.128 110.7)
Decimal11317062
Display P3color(display-p3 0.675 0.686 0.275)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acaf46 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#acaf46 on black: 8.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCA83A
deuteranopia · #BDAB4C
tritanopia · #B7A599

Color scale — 50 to 950

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

#FAFAF5
#F5F5EB
#EAEAD1
#DEDFAF
#CDCF87
#BCBF5F
#acaf46
#8F923A
#73752F
#545525
#343517
Base = 600Lightest = 50 · #FAFAF5Darkest = 950 · #343517
:root {
  --brand-50: #FAFAF5;
  --brand-100: #F5F5EB;
  --brand-200: #EAEAD1;
  --brand-300: #DEDFAF;
  --brand-400: #CDCF87;
  --brand-500: #BCBF5F;
  --brand-600: #acaf46;
  --brand-700: #8F923A;
  --brand-800: #73752F;
  --brand-900: #545525;
  --brand-950: #343517;
  --brand: #acaf46;
  --brand-ink: #000000;
}

Colors that work with #acaf46

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#E7E8C5
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#415AB4
Second voice, not a rival
Dark variant#5A5B24
Hover, pressed, headers
Light variant#F7F8ED
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 #acaf46

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#4946AF
Analogous left#AF7D46
Analogous right#77AF46
Split-complement 1#4677AF
Split-complement 2#7D46AF
Triadic 1#46ACAF
Triadic 2#AF46AC
Tetradic#46AF7D

RGB percentages

Red67.5%
Green68.6%
Blue27.5%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow60.0%
Key (black)31.4%

Color previews

#acaf46 text on a black background

contrast 8.97:1

Card sample

#acaf46 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf46

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.

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

#acaf46, answered

What color is #acaf46?

#acaf46 is a balanced soft yellow, closest to Dark Khaki (ΔE2000 5.7). It sits at 62° on the hue wheel with 43% saturation and 48% lightness, which reads as warm.

What is the RGB value of #acaf46?

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

Is #acaf46 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3987 and perceived brightness is 65%, so black text on it reaches 8.97:1.

Should I use black or white text on #acaf46?

Black. It scores 8.97:1 against #acaf46, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #acaf46?

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

What colors go well with #acaf46?

For interface work: #FAFAF4 as the surface, #E7E8C5 for borders, #999B4B for secondary text, #415AB4 as an accent and #5A5B24 for hover and pressed states. For a palette, the analogous pair #AF7D46 and #77AF46 stays calm, while #4946AF is the loudest partner.

What is #acaf46 in CMYK for printing?

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

Is #acaf46 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 #AF8B46; nudged cooler, #86B143.

Work with #acaf46 in the Color Lab