Skip to content

#af995d

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

RGB
175, 153, 93
HSL
44°, 34%, 53%
CMYK
0, 13, 47, 31
Luminance
0.3269

At a glance

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

Hex
#af995d
Hue
44°
yellow
Saturation
34%
soft
Lightness
53%
balanced
Brightness
69%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3269
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
7.54:1
Closest name
Dark Khaki
ΔE2000 9.8
Where it sits
Hue44° of 360°
Saturation34%
Lightness53%
Temperature
Warm ← → Cool13% 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#af995d
RGBrgb(175, 153, 93)
HSLhsl(44, 34%, 53%)
CMYKcmyk(0%, 13%, 47%, 31%)
LABlab(63.9 -0.1 34.4)
LCHlch(63.9 34.4 90.1)
OKLCHoklch(0.689 0.083 90.0)
Decimal11508061
Display P3color(display-p3 0.686 0.600 0.365)

Copy-ready code

/* CSS */
color: #af995d;
background-color: #af995d;
/* Tailwind (arbitrary) */
class="text-[#af995d] bg-[#af995d]"
/* SCSS */
$brand: #af995d;
/* SwiftUI */
Color(red: 0.686, green: 0.600, blue: 0.365)
/* Android */
Color.parseColor("#af995d")
/* Flutter */
Color(0xFFAF995D)
/* Python / OpenCV (BGR) */
(93, 153, 175)

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

Accessibility — WCAG contrast

Aa
#af995d on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#af995d on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A59758
deuteranopia · #AB9D5F
tritanopia · #BB908A

Color scale — 50 to 950

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

#F9F8F5
#F4F2EC
#E8E2D4
#DAD0B4
#C7B88E
#af995d
#A48E51
#897643
#6D5E36
#50462A
#322C1A
Base = 500Lightest = 50 · #F9F8F5Darkest = 950 · #322C1A
:root {
  --brand-50: #F9F8F5;
  --brand-100: #F4F2EC;
  --brand-200: #E8E2D4;
  --brand-300: #DAD0B4;
  --brand-400: #C7B88E;
  --brand-500: #af995d;
  --brand-600: #A48E51;
  --brand-700: #897643;
  --brand-800: #6D5E36;
  --brand-900: #50462A;
  --brand-950: #322C1A;
  --brand: #af995d;
  --brand-ink: #000000;
}

Colors that work with #af995d

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#FAF9F5
Tinted page background
Border#E4DDC8
Hairlines and dividers
Muted text#9A854C
Captions on the surface
Accent#5888B4
Second voice, not a rival
Dark variant#554A2A
Hover, pressed, headers
Light variant#F7F4EE
Selected rows, tints
Dark surface#242014
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 #af995d

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#5D73AF
Analogous left#AF705D
Analogous right#9CAF5D
Split-complement 1#5D9CAF
Split-complement 2#705DAF
Triadic 1#5DAF99
Triadic 2#995DAF
Tetradic#5DAF70

RGB percentages

Red68.6%
Green60.0%
Blue36.5%

CMYK percentages

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

Color previews

#af995d text on a black background

contrast 7.54:1

Card sample

#af995d text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af995d

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.

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

#af995d, answered

What color is #af995d?

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

What is the RGB value of #af995d?

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

Is #af995d a light or a dark color?

It is a mid-tone. Relative luminance is 0.3269 and perceived brightness is 61%, so black text on it reaches 7.54:1.

Should I use black or white text on #af995d?

Black. It scores 7.54:1 against #af995d, versus 2.79:1 for white — AAA at any size.

What is the complementary color of #af995d?

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

What colors go well with #af995d?

For interface work: #FAF9F5 as the surface, #E4DDC8 for borders, #9A854C for secondary text, #5888B4 as an accent and #554A2A for hover and pressed states. For a palette, the analogous pair #AF705D and #9CAF5D stays calm, while #5D73AF is the loudest partner.

What is #af995d in CMYK for printing?

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

Is #af995d warm or cool?

Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF865D; nudged cooler, #A9B15A.

Work with #af995d in the Color Lab