Skip to content

#afbf8d

a light, soft green · neutral · closest name: Dark Sea Green

RGB
175, 191, 141
HSL
79°, 28%, 65%
CMYK
8, 0, 26, 25
Luminance
0.4830

At a glance

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

Hex
#afbf8d
Hue
79°
green
Saturation
28%
soft
Lightness
65%
light
Brightness
75%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4830
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Soft
Best ink
Black
10.66:1
Closest name
Dark Sea Green
ΔE2000 7.5
Where it sits
Hue79° of 360°
Saturation28%
Lightness65%
Temperature
Warm ← → Cool43% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#afbf8d
RGBrgb(175, 191, 141)
HSLhsl(79, 28%, 65%)
CMYKcmyk(8%, 0%, 26%, 25%)
LABlab(75.0 -14.2 23.5)
LCHlch(75.0 27.4 121.1)
OKLCHoklch(0.780 0.070 122.4)
Decimal11517837
Display P3color(display-p3 0.686 0.749 0.553)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbf8d on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#afbf8d on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5B98A
deuteranopia · #C3B98F
tritanopia · #B3BAB2

Color scale — 50 to 950

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

#F8F9F6
#F1F3EC
#E1E6D6
#CDD7B7
#afbf8d
#9AAE6F
#879D58
#708349
#5A693B
#434D2D
#2A301C
Base = 400Lightest = 50 · #F8F9F6Darkest = 950 · #2A301C
:root {
  --brand-50: #F8F9F6;
  --brand-100: #F1F3EC;
  --brand-200: #E1E6D6;
  --brand-300: #CDD7B7;
  --brand-400: #afbf8d;
  --brand-500: #9AAE6F;
  --brand-600: #879D58;
  --brand-700: #708349;
  --brand-800: #5A693B;
  --brand-900: #434D2D;
  --brand-950: #2A301C;
  --brand: #afbf8d;
  --brand-ink: #000000;
}

Colors that work with #afbf8d

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#F8F9F5
Tinted page background
Border#DAE2CB
Hairlines and dividers
Muted text#7E9353
Captions on the surface
Accent#8D89C3
Second voice, not a rival
Dark variant#46522E
Hover, pressed, headers
Light variant#F4F6EF
Selected rows, tints
Dark surface#1F2414
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 #afbf8d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • 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#9D8DBF
Analogous left#BFB68D
Analogous right#96BF8D
Split-complement 1#8D96BF
Split-complement 2#B68DBF
Triadic 1#8DAFBF
Triadic 2#BF8DAF
Tetradic#8DBFB6

RGB percentages

Red68.6%
Green74.9%
Blue55.3%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow26.2%
Key (black)25.1%

Color previews

#afbf8d text on a black background

contrast 10.66:1

Card sample

#afbf8d text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbf8d

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.

#afbf8d 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#afbf8d, answered

What color is #afbf8d?

#afbf8d is a light soft green, closest to Dark Sea Green (ΔE2000 7.5). It sits at 79° on the hue wheel with 28% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #afbf8d?

rgb(175, 191, 141) — 175 red, 191 green and 141 blue out of 255, or 68.6% / 74.9% / 55.3% by channel.

Is #afbf8d a light or a dark color?

It is a mid-tone. Relative luminance is 0.4830 and perceived brightness is 71%, so black text on it reaches 10.66:1.

Should I use black or white text on #afbf8d?

Black. It scores 10.66:1 against #afbf8d, versus 1.97:1 for white — AAA at any size.

What is the complementary color of #afbf8d?

#9D8DBF sits directly opposite on the wheel. Softer options are the split-complements #8D96BF and #B68DBF, which give the same contrast with far less vibration.

What colors go well with #afbf8d?

For interface work: #F8F9F5 as the surface, #DAE2CB for borders, #7E9353 for secondary text, #8D89C3 as an accent and #46522E for hover and pressed states. For a palette, the analogous pair #BFB68D and #96BF8D stays calm, while #9D8DBF is the loudest partner.

What is #afbf8d in CMYK for printing?

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

Is #afbf8d warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BFBD8D; nudged cooler, #9CC18B.

Work with #afbf8d in the Color Lab