#afb59f
a light, muted green · neutral · closest name: Dark Gray
At a glance
Every number on this page in one read: what #afb59f is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #afb59f |
| RGB | rgb(175, 181, 159) |
| HSL | hsl(76, 13%, 67%) |
| CMYK | cmyk(3%, 0%, 12%, 29%) |
| LAB | lab(72.7 -6.1 10.5) |
| LCH | lch(72.7 12.1 120.1) |
| OKLCH | oklch(0.762 0.031 119.6) |
| Decimal | 11515295 |
| Display P3 | color(display-p3 0.686 0.710 0.624) |
Copy-ready code
/* CSS */
color: #afb59f;
background-color: #afb59f;
/* Tailwind (arbitrary) */
class="text-[#afb59f] bg-[#afb59f]"
/* SCSS */
$brand: #afb59f;
/* SwiftUI */
Color(red: 0.686, green: 0.710, blue: 0.624)
/* Android */
Color.parseColor("#afb59f")
/* Flutter */
Color(0xFFAFB59F)
/* Python / OpenCV (BGR) */
(159, 181, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #afb59f is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F8F8F7;
--brand-100: #F0F1EE;
--brand-200: #E0E2DA;
--brand-300: #CACEC0;
--brand-400: #afb59f;
--brand-500: #959D80;
--brand-600: #828A6B;
--brand-700: #6C7359;
--brand-800: #565C47;
--brand-900: #404436;
--brand-950: #282B22;
--brand: #afb59f;
--brand-ink: #000000;
}Colors that work with #afb59f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #afb59f
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Borders, dividers and quiet backgrounds
- ✓Long-form reading surfaces
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠White text placed on it
- ⚠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 | #A59FB5 | Directly opposite — maximum tension | |
| Analogous left | #B5B09F | Neighbour, quieter | |
| Analogous right | #A4B59F | Neighbour, quieter | |
| Split-complement 1 | #9FA4B5 | Contrast without the clash | |
| Split-complement 2 | #B09FB5 | Contrast without the clash | |
| Triadic 1 | #9FAFB5 | Even thirds — balanced and loud | |
| Triadic 2 | #B59FAF | Even thirds — balanced and loud | |
| Tetradic | #9FB5B0 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#afb59f text on a black background
contrast 9.93:1
#afb59f text on a white background
contrast 2.11:1
CSS3 live lab
The quick brown fox
color: #afb59f;
background-color: #afb59f;
Glowing headline
text-shadow: 2px 2px 8px #afb59f;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 181, 159, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 181, 159, 0.45);
border: 3px solid #afb59f; background: linear-gradient(135deg, #afb59f, #A0B59F);
Monochromatic scale
Palettes built from #afb59f
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.
Closest color with a full write-up: Sage (#9caf88) — ΔE2000 7.4 away, with its history, psychology and brand usage.
#afb59f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#afb59f, answered
What color is #afb59f?
#afb59f is a light muted green, closest to Dark Gray (ΔE2000 10.9). It sits at 76° on the hue wheel with 13% saturation and 67% lightness, which reads as neutral.
What is the RGB value of #afb59f?
rgb(175, 181, 159) — 175 red, 181 green and 159 blue out of 255, or 68.6% / 71% / 62.4% by channel.
Is #afb59f a light or a dark color?
It is a mid-tone. Relative luminance is 0.4466 and perceived brightness is 69%, so black text on it reaches 9.93:1.
Should I use black or white text on #afb59f?
Black. It scores 9.93:1 against #afb59f, versus 2.11:1 for white — AAA at any size.
What is the complementary color of #afb59f?
#A59FB5 sits directly opposite on the wheel. Softer options are the split-complements #9FA4B5 and #B09FB5, which give the same contrast with far less vibration.
What colors go well with #afb59f?
For interface work: #F8F8F6 as the surface, #D9DBD1 for borders, #798264 for secondary text, #555577 as an accent and #434838 for hover and pressed states. For a palette, the analogous pair #B5B09F and #A4B59F stays calm, while #A59FB5 is the loudest partner.
What is #afb59f in CMYK for printing?
cmyk(3%, 0%, 12%, 29%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #afb59f warm or cool?
Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B5B39F; nudged cooler, #A7B79D.