Skip to content

#afdfb2

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

RGB
175, 223, 178
HSL
124°, 43%, 78%
CMYK
22, 0, 20, 13
Luminance
0.6510

At a glance

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

Hex
#afdfb2
Hue
124°
green
Saturation
43%
soft
Lightness
78%
light
Brightness
87%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6510
WCAG relative
Temperature
Cool
64/100 cool
Color family
Green
Tone
Soft
Best ink
Black
14.02:1
Closest name
Dark Sea Green
ΔE2000 8.8
Where it sits
Hue124° of 360°
Saturation43%
Lightness78%
Temperature
Warm ← → Cool64% cool

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

Every format

HEX#afdfb2
RGBrgb(175, 223, 178)
HSLhsl(124, 43%, 78%)
CMYKcmyk(22%, 0%, 20%, 13%)
LABlab(84.5 -24.1 17.1)
LCHlch(84.5 29.6 144.7)
OKLCHoklch(0.858 0.079 146.5)
Decimal11526066
Display P3color(display-p3 0.686 0.875 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdfb2 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#afdfb2 on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E1D6AF
deuteranopia · #D9D1B4
tritanopia · #AADCD2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdfb2 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FAF5
#EBF5EB
#D1EAD3
#afdfb2
#87CF8B
#5FBF65
#46AF4D
#3A9240
#2F7533
#255528
#173519
Base = 300Lightest = 50 · #F5FAF5Darkest = 950 · #173519
:root {
  --brand-50: #F5FAF5;
  --brand-100: #EBF5EB;
  --brand-200: #D1EAD3;
  --brand-300: #afdfb2;
  --brand-400: #87CF8B;
  --brand-500: #5FBF65;
  --brand-600: #46AF4D;
  --brand-700: #3A9240;
  --brand-800: #2F7533;
  --brand-900: #255528;
  --brand-950: #173519;
  --brand: #afdfb2;
  --brand-ink: #000000;
}

Colors that work with #afdfb2

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#F4FAF5
Tinted page background
Border#C5E8C7
Hairlines and dividers
Muted text#4B9B50
Captions on the surface
Accent#833795
Second voice, not a rival
Dark variant#245B28
Hover, pressed, headers
Light variant#EDF8ED
Selected rows, tints
Dark surface#142415
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 #afdfb2

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#DFAFDC
Analogous left#C4DFAF
Analogous right#AFDFCA
Split-complement 1#CAAFDF
Split-complement 2#DFAFC4
Triadic 1#B2AFDF
Triadic 2#DFB2AF
Tetradic#AFC4DF

RGB percentages

Red68.6%
Green87.5%
Blue69.8%

CMYK percentages

Cyan21.5%
Magenta0.0%
Yellow20.2%
Key (black)12.5%

Color previews

#afdfb2 text on a black background

contrast 14.02:1

Card sample

#afdfb2 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdfb2

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.

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

#afdfb2, answered

What color is #afdfb2?

#afdfb2 is a light soft green, closest to Dark Sea Green (ΔE2000 8.8). It sits at 124° on the hue wheel with 43% saturation and 78% lightness, which reads as cool.

What is the RGB value of #afdfb2?

rgb(175, 223, 178) — 175 red, 223 green and 178 blue out of 255, or 68.6% / 87.5% / 69.8% by channel.

Is #afdfb2 a light or a dark color?

It is a light color. Relative luminance is 0.6510 and perceived brightness is 80%, so black text on it reaches 14.02:1.

Should I use black or white text on #afdfb2?

Black. It scores 14.02:1 against #afdfb2, versus 1.50:1 for white — AAA at any size.

What is the complementary color of #afdfb2?

#DFAFDC sits directly opposite on the wheel. Softer options are the split-complements #CAAFDF and #DFAFC4, which give the same contrast with far less vibration.

What colors go well with #afdfb2?

For interface work: #F4FAF5 as the surface, #C5E8C7 for borders, #4B9B50 for secondary text, #833795 as an accent and #245B28 for hover and pressed states. For a palette, the analogous pair #C4DFAF and #AFDFCA stays calm, while #DFAFDC is the loudest partner.

What is #afdfb2 in CMYK for printing?

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

Is #afdfb2 warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BDDFAF; nudged cooler, #AEE0C3.

Work with #afdfb2 in the Color Lab