Skip to content

#afd3a2

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

RGB
175, 211, 162
HSL
104°, 36%, 73%
CMYK
17, 0, 23, 17
Luminance
0.5831

At a glance

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

Hex
#afd3a2
Hue
104°
green
Saturation
36%
soft
Lightness
73%
light
Brightness
83%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5831
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Green
Tone
Soft
Best ink
Black
12.66:1
Closest name
Dark Sea Green
ΔE2000 6.8
Where it sits
Hue104° of 360°
Saturation36%
Lightness73%
Temperature
Warm ← → Cool56% 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#afd3a2
RGBrgb(175, 211, 162)
HSLhsl(104, 36%, 73%)
CMYKcmyk(17%, 0%, 23%, 17%)
LABlab(80.9 -20.9 20.4)
LCHlch(80.9 29.3 135.7)
OKLCHoklch(0.828 0.077 137.5)
Decimal11522978
Display P3color(display-p3 0.686 0.827 0.635)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd3a2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#afd3a2 on black: 12.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7CB9F
deuteranopia · #D1C8A4
tritanopia · #AECFC6

Color scale — 50 to 950

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

#F6F9F5
#EEF4EB
#D9E8D3
#afd3a2
#9DC98D
#7CB767
#66A64F
#558B41
#446F34
#345129
#20331A
Base = 300Lightest = 50 · #F6F9F5Darkest = 950 · #20331A
:root {
  --brand-50: #F6F9F5;
  --brand-100: #EEF4EB;
  --brand-200: #D9E8D3;
  --brand-300: #afd3a2;
  --brand-400: #9DC98D;
  --brand-500: #7CB767;
  --brand-600: #66A64F;
  --brand-700: #558B41;
  --brand-800: #446F34;
  --brand-900: #345129;
  --brand-950: #20331A;
  --brand: #afd3a2;
  --brand-ink: #000000;
}

Colors that work with #afd3a2

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#F6FAF5
Tinted page background
Border#CFE5C8
Hairlines and dividers
Muted text#609B4B
Captions on the surface
Accent#653D8F
Second voice, not a rival
Dark variant#355729
Hover, pressed, headers
Light variant#F0F7EE
Selected rows, tints
Dark surface#182414
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 #afd3a2

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#C6A2D3
Analogous left#C7D3A2
Analogous right#A2D3AD
Split-complement 1#ADA2D3
Split-complement 2#D3A2C7
Triadic 1#A2AFD3
Triadic 2#D3A2AF
Tetradic#A2C7D3

RGB percentages

Red68.6%
Green82.7%
Blue63.5%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow23.2%
Key (black)17.3%

Color previews

#afd3a2 text on a black background

contrast 12.66:1

Card sample

#afd3a2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd3a2

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.

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

#afd3a2, answered

What color is #afd3a2?

#afd3a2 is a light soft green, closest to Dark Sea Green (ΔE2000 6.8). It sits at 104° on the hue wheel with 36% saturation and 73% lightness, which reads as neutral.

What is the RGB value of #afd3a2?

rgb(175, 211, 162) — 175 red, 211 green and 162 blue out of 255, or 68.6% / 82.7% / 63.5% by channel.

Is #afd3a2 a light or a dark color?

It is a light color. Relative luminance is 0.5831 and perceived brightness is 77%, so black text on it reaches 12.66:1.

Should I use black or white text on #afd3a2?

Black. It scores 12.66:1 against #afd3a2, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #afd3a2?

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

What colors go well with #afd3a2?

For interface work: #F6FAF5 as the surface, #CFE5C8 for borders, #609B4B for secondary text, #653D8F as an accent and #355729 for hover and pressed states. For a palette, the analogous pair #C7D3A2 and #A2D3AD stays calm, while #C6A2D3 is the loudest partner.

What is #afd3a2 in CMYK for printing?

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

Is #afd3a2 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C1D3A2; nudged cooler, #A0D4A6.

Work with #afd3a2 in the Color Lab