Skip to content

#affcab

a light, electric green · cool · closest name: Pale Green

RGB
175, 252, 171
HSL
117°, 93%, 83%
CMYK
31, 0, 32, 1
Luminance
0.8168

At a glance

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

Hex
#affcab
Hue
117°
green
Saturation
93%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
87%
weighted brightness
Luminance
0.8168
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Electric
Best ink
Black
17.34:1
Closest name
Pale Green
ΔE2000 3.5
Where it sits
Hue117° of 360°
Saturation93%
Lightness83%
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#affcab
RGBrgb(175, 252, 171)
HSLhsl(117, 93%, 83%)
CMYKcmyk(31%, 0%, 32%, 1%)
LABlab(92.4 -38.8 31.5)
LCHlch(92.4 50.0 141.0)
OKLCHoklch(0.921 0.132 143.3)
Decimal11533483
Display P3color(display-p3 0.686 0.988 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#affcab on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#affcab on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEEA6
deuteranopia · #F4E6AF
tritanopia · #A8F7E7

Color scale — 50 to 950

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

#F2FDF2
#E5FBE4
#affcab
#98FB93
#64F95D
#31F726
#14EC08
#11C507
#0D9E06
#0E7209
#094705
Base = 200Lightest = 50 · #F2FDF2Darkest = 950 · #094705
:root {
  --brand-50: #F2FDF2;
  --brand-100: #E5FBE4;
  --brand-200: #affcab;
  --brand-300: #98FB93;
  --brand-400: #64F95D;
  --brand-500: #31F726;
  --brand-600: #14EC08;
  --brand-700: #11C507;
  --brand-800: #0D9E06;
  --brand-900: #0E7209;
  --brand-950: #094705;
  --brand: #affcab;
  --brand-ink: #000000;
}

Colors that work with #affcab

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#C2EDC0
Hairlines and dividers
Muted text#4F9B4B
Captions on the surface
Accent#8D02CA
Second voice, not a rival
Dark variant#0A7B04
Hover, pressed, headers
Light variant#E8FEE6
Selected rows, tints
Dark surface#142414
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 #affcab

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#F8ABFC
Analogous left#D7FCAB
Analogous right#ABFCCF
Split-complement 1#CFABFC
Split-complement 2#FCABD7
Triadic 1#ABAFFC
Triadic 2#FCABAF
Tetradic#ABD7FC

RGB percentages

Red68.6%
Green98.8%
Blue67.1%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow32.1%
Key (black)1.2%

Color previews

#affcab text on a black background

contrast 17.34:1

Card sample

#affcab text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affcab

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.

#affcab 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#affcab, answered

What color is #affcab?

#affcab is a light electric green, closest to Pale Green (ΔE2000 3.5). It sits at 117° on the hue wheel with 93% saturation and 83% lightness, which reads as cool.

What is the RGB value of #affcab?

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

Is #affcab a light or a dark color?

It is a light color. Relative luminance is 0.8168 and perceived brightness is 87%, so black text on it reaches 17.34:1.

Should I use black or white text on #affcab?

Black. It scores 17.34:1 against #affcab, versus 1.21:1 for white — AAA at any size.

What is the complementary color of #affcab?

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

What colors go well with #affcab?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4F9B4B for secondary text, #8D02CA as an accent and #0A7B04 for hover and pressed states. For a palette, the analogous pair #D7FCAB and #ABFCCF stays calm, while #F8ABFC is the loudest partner.

What is #affcab in CMYK for printing?

cmyk(31%, 0%, 32%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #affcab 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 #CDFCAB; nudged cooler, #AAFDC4.

Work with #affcab in the Color Lab