Skip to content

#afd087

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

RGB
175, 208, 135
HSL
87°, 44%, 67%
CMYK
16, 0, 35, 18
Luminance
0.5597

At a glance

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

Hex
#afd087
Hue
87°
green
Saturation
44%
soft
Lightness
67%
light
Brightness
82%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5597
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Soft
Best ink
Black
12.19:1
Closest name
Dark Sea Green
ΔE2000 9.1
Where it sits
Hue87° of 360°
Saturation44%
Lightness67%
Temperature
Warm ← → Cool48% 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#afd087
RGBrgb(175, 208, 135)
HSLhsl(87, 44%, 67%)
CMYKcmyk(16%, 0%, 35%, 18%)
LABlab(79.6 -23.5 32.7)
LCHlch(79.6 40.3 125.7)
OKLCHoklch(0.816 0.103 128.3)
Decimal11522183
Display P3color(display-p3 0.686 0.816 0.529)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd087 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#afd087 on black: 12.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7C782
deuteranopia · #D2C58B
tritanopia · #B2CABD

Color scale — 50 to 950

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

#F8FAF5
#F0F5EA
#DFEBD1
#C9DFAE
#afd087
#94C05E
#80B045
#6A9339
#55752E
#405625
#283617
Base = 400Lightest = 50 · #F8FAF5Darkest = 950 · #283617
:root {
  --brand-50: #F8FAF5;
  --brand-100: #F0F5EA;
  --brand-200: #DFEBD1;
  --brand-300: #C9DFAE;
  --brand-400: #afd087;
  --brand-500: #94C05E;
  --brand-600: #80B045;
  --brand-700: #6A9339;
  --brand-800: #55752E;
  --brand-900: #405625;
  --brand-950: #283617;
  --brand: #afd087;
  --brand-ink: #000000;
}

Colors that work with #afd087

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#F8FAF4
Tinted page background
Border#D8E8C4
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#9484D3
Second voice, not a rival
Dark variant#425C24
Hover, pressed, headers
Light variant#F3F8ED
Selected rows, tints
Dark surface#1D2414
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 #afd087

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#A887D0
Analogous left#D0CD87
Analogous right#8BD087
Split-complement 1#878BD0
Split-complement 2#CD87D0
Triadic 1#87AFD0
Triadic 2#D087AF
Tetradic#87D0CD

RGB percentages

Red68.6%
Green81.6%
Blue52.9%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow35.1%
Key (black)18.4%

Color previews

#afd087 text on a black background

contrast 12.19:1

Card sample

#afd087 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd087

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.

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

#afd087, answered

What color is #afd087?

#afd087 is a light soft green, closest to Dark Sea Green (ΔE2000 9.1). It sits at 87° on the hue wheel with 44% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #afd087?

rgb(175, 208, 135) — 175 red, 208 green and 135 blue out of 255, or 68.6% / 81.6% / 52.9% by channel.

Is #afd087 a light or a dark color?

It is a light color. Relative luminance is 0.5597 and perceived brightness is 75%, so black text on it reaches 12.19:1.

Should I use black or white text on #afd087?

Black. It scores 12.19:1 against #afd087, versus 1.72:1 for white — AAA at any size.

What is the complementary color of #afd087?

#A887D0 sits directly opposite on the wheel. Softer options are the split-complements #878BD0 and #CD87D0, which give the same contrast with far less vibration.

What colors go well with #afd087?

For interface work: #F8FAF4 as the surface, #D8E8C4 for borders, #779B4B for secondary text, #9484D3 as an accent and #425C24 for hover and pressed states. For a palette, the analogous pair #D0CD87 and #8BD087 stays calm, while #A887D0 is the loudest partner.

What is #afd087 in CMYK for printing?

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

Is #afd087 warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CAD087; nudged cooler, #93D286.

Work with #afd087 in the Color Lab