Skip to content

#a2ac7a

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

RGB
162, 172, 122
HSL
72°, 23%, 58%
CMYK
6, 0, 29, 33
Luminance
0.3859

At a glance

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

Hex
#a2ac7a
Hue
72°
green
Saturation
23%
soft
Lightness
58%
balanced
Brightness
67%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3859
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Soft
Best ink
Black
8.72:1
Closest name
Dark Khaki
ΔE2000 8.4
Where it sits
Hue72° of 360°
Saturation23%
Lightness58%
Temperature
Warm ← → Cool40% 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#a2ac7a
RGBrgb(162, 172, 122)
HSLhsl(72, 23%, 58%)
CMYKcmyk(6%, 0%, 29%, 33%)
LABlab(68.5 -12.0 24.6)
LCHlch(68.5 27.4 116.0)
OKLCHoklch(0.724 0.070 117.4)
Decimal10660986
Display P3color(display-p3 0.635 0.675 0.478)

Copy-ready code

/* CSS */
color: #a2ac7a;
background-color: #a2ac7a;
/* Tailwind (arbitrary) */
class="text-[#a2ac7a] bg-[#a2ac7a]"
/* SCSS */
$brand: #a2ac7a;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.478)
/* Android */
Color.parseColor("#a2ac7a")
/* Flutter */
Color(0xFFA2AC7A)
/* Python / OpenCV (BGR) */
(122, 172, 162)

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

Accessibility — WCAG contrast

Aa
#a2ac7a on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#a2ac7a on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B3A777
deuteranopia · #B2A77C
tritanopia · #A7A79F

Color scale — 50 to 950

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

#F8F9F6
#F1F2ED
#E2E5D7
#CFD4BA
#B7BE97
#a2ac7a
#8B975E
#747E4E
#5D643F
#454A30
#2B2E1E
Base = 500Lightest = 50 · #F8F9F6Darkest = 950 · #2B2E1E
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F1F2ED;
  --brand-200: #E2E5D7;
  --brand-300: #CFD4BA;
  --brand-400: #B7BE97;
  --brand-500: #a2ac7a;
  --brand-600: #8B975E;
  --brand-700: #747E4E;
  --brand-800: #5D643F;
  --brand-900: #454A30;
  --brand-950: #2B2E1E;
  --brand: #a2ac7a;
  --brand-ink: #000000;
}

Colors that work with #a2ac7a

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#F8F9F6
Tinted page background
Border#DCE0CD
Hairlines and dividers
Muted text#838D58
Captions on the surface
Accent#7679B0
Second voice, not a rival
Dark variant#494E31
Hover, pressed, headers
Light variant#F4F5EF
Selected rows, tints
Dark surface#202316
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 #a2ac7a

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
  • 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#847AAC
Analogous left#AC9D7A
Analogous right#89AC7A
Split-complement 1#7A89AC
Split-complement 2#9D7AAC
Triadic 1#7AA2AC
Triadic 2#AC7AA2
Tetradic#7AAC9D

RGB percentages

Red63.5%
Green67.5%
Blue47.8%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow29.1%
Key (black)32.5%

Color previews

#a2ac7a text on a black background

contrast 8.72:1

Card sample

#a2ac7a text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 172, 122, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 122, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac7a;
background: linear-gradient(135deg, #a2ac7a, #81AC7A);

Monochromatic scale

Palettes built from #a2ac7a

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.

#a2ac7a in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#a2ac7a, answered

What color is #a2ac7a?

#a2ac7a is a balanced soft green, closest to Dark Khaki (ΔE2000 8.4). It sits at 72° on the hue wheel with 23% saturation and 58% lightness, which reads as warm.

What is the RGB value of #a2ac7a?

rgb(162, 172, 122) — 162 red, 172 green and 122 blue out of 255, or 63.5% / 67.5% / 47.8% by channel.

Is #a2ac7a a light or a dark color?

It is a mid-tone. Relative luminance is 0.3859 and perceived brightness is 64%, so black text on it reaches 8.72:1.

Should I use black or white text on #a2ac7a?

Black. It scores 8.72:1 against #a2ac7a, versus 2.41:1 for white — AAA at any size.

What is the complementary color of #a2ac7a?

#847AAC sits directly opposite on the wheel. Softer options are the split-complements #7A89AC and #9D7AAC, which give the same contrast with far less vibration.

What colors go well with #a2ac7a?

For interface work: #F8F9F6 as the surface, #DCE0CD for borders, #838D58 for secondary text, #7679B0 as an accent and #494E31 for hover and pressed states. For a palette, the analogous pair #AC9D7A and #89AC7A stays calm, while #847AAC is the loudest partner.

What is #a2ac7a in CMYK for printing?

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

Is #a2ac7a warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ACA47A; nudged cooler, #8FAE78.

Work with #a2ac7a in the Color Lab