Skip to content

#afe2ab

a light, vivid green · cool · closest name: Light Green

RGB
175, 226, 171
HSL
116°, 49%, 78%
CMYK
23, 0, 24, 11
Luminance
0.6645

At a glance

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

Hex
#afe2ab
Hue
116°
green
Saturation
49%
vivid
Lightness
78%
light
Brightness
89%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6645
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
14.29:1
Closest name
Light Green
ΔE2000 8
Where it sits
Hue116° of 360°
Saturation49%
Lightness78%
Temperature
Warm ← → Cool61% 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#afe2ab
RGBrgb(175, 226, 171)
HSLhsl(116, 49%, 78%)
CMYKcmyk(23%, 0%, 24%, 11%)
LABlab(85.2 -26.8 21.7)
LCHlch(85.2 34.5 141.0)
OKLCHoklch(0.863 0.092 142.9)
Decimal11526827
Display P3color(display-p3 0.686 0.886 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2ab on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#afe2ab on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5D8A8
deuteranopia · #DCD3AE
tritanopia · #ABDFD3

Color scale — 50 to 950

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

#F5FAF4
#EBF6EA
#D2ECD0
#afe2ab
#88D482
#60C558
#48B63F
#3C9834
#30792A
#265922
#183715
Base = 300Lightest = 50 · #F5FAF4Darkest = 950 · #183715
:root {
  --brand-50: #F5FAF4;
  --brand-100: #EBF6EA;
  --brand-200: #D2ECD0;
  --brand-300: #afe2ab;
  --brand-400: #88D482;
  --brand-500: #60C558;
  --brand-600: #48B63F;
  --brand-700: #3C9834;
  --brand-800: #30792A;
  --brand-900: #265922;
  --brand-950: #183715;
  --brand: #afe2ab;
  --brand-ink: #000000;
}

Colors that work with #afe2ab

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#F5FAF4
Tinted page background
Border#C5EAC2
Hairlines and dividers
Muted text#509B4B
Captions on the surface
Accent#79319B
Second voice, not a rival
Dark variant#255F21
Hover, pressed, headers
Light variant#EDF8EC
Selected rows, tints
Dark surface#152414
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 #afe2ab

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#DEABE2
Analogous left#CAE2AB
Analogous right#ABE2C2
Split-complement 1#C2ABE2
Split-complement 2#E2ABCA
Triadic 1#ABAFE2
Triadic 2#E2ABAF
Tetradic#ABCAE2

RGB percentages

Red68.6%
Green88.6%
Blue67.1%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow24.3%
Key (black)11.4%

Color previews

#afe2ab text on a black background

contrast 14.29:1

Card sample

#afe2ab text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2ab

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.

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

#afe2ab, answered

What color is #afe2ab?

#afe2ab is a light vivid green, closest to Light Green (ΔE2000 8). It sits at 116° on the hue wheel with 49% saturation and 78% lightness, which reads as cool.

What is the RGB value of #afe2ab?

rgb(175, 226, 171) — 175 red, 226 green and 171 blue out of 255, or 68.6% / 88.6% / 67.1% by channel.

Is #afe2ab a light or a dark color?

It is a light color. Relative luminance is 0.6645 and perceived brightness is 81%, so black text on it reaches 14.29:1.

Should I use black or white text on #afe2ab?

Black. It scores 14.29:1 against #afe2ab, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #afe2ab?

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

What colors go well with #afe2ab?

For interface work: #F5FAF4 as the surface, #C5EAC2 for borders, #509B4B for secondary text, #79319B as an accent and #255F21 for hover and pressed states. For a palette, the analogous pair #CAE2AB and #ABE2C2 stays calm, while #DEABE2 is the loudest partner.

What is #afe2ab in CMYK for printing?

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

Is #afe2ab warm or cool?

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

Work with #afe2ab in the Color Lab