Skip to content

#afda7a

a light, vivid green · neutral · closest name: Yellow Green

RGB
175, 218, 122
HSL
87°, 57%, 67%
CMYK
20, 0, 44, 15
Luminance
0.6066

At a glance

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

Hex
#afda7a
Hue
87°
green
Saturation
57%
vivid
Lightness
67%
light
Brightness
85%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6066
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.13:1
Closest name
Yellow Green
ΔE2000 8
Where it sits
Hue87° of 360°
Saturation57%
Lightness67%
Temperature
Warm ← → Cool47% 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#afda7a
RGBrgb(175, 218, 122)
HSLhsl(87, 57%, 67%)
CMYKcmyk(20%, 0%, 44%, 15%)
LABlab(82.2 -29.9 42.6)
LCHlch(82.2 52.1 125.1)
OKLCHoklch(0.836 0.132 128.7)
Decimal11524730
Display P3color(display-p3 0.686 0.855 0.478)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afda7a on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afda7a on black: 13.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2CE72
deuteranopia · #DCCC7F
tritanopia · #B3D2C3

Color scale — 50 to 950

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

#F8FBF4
#F0F6E9
#E0EECD
#CAE7A7
#afda7a
#95CE4F
#82C035
#6CA02C
#568023
#405D1D
#283A12
Base = 400Lightest = 50 · #F8FBF4Darkest = 950 · #283A12
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F0F6E9;
  --brand-200: #E0EECD;
  --brand-300: #CAE7A7;
  --brand-400: #afda7a;
  --brand-500: #95CE4F;
  --brand-600: #82C035;
  --brand-700: #6CA02C;
  --brand-800: #568023;
  --brand-900: #405D1D;
  --brand-950: #283A12;
  --brand: #afda7a;
  --brand-ink: #000000;
}

Colors that work with #afda7a

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#D9EDC0
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#8B77DD
Second voice, not a rival
Dark variant#43641C
Hover, pressed, headers
Light variant#F3F9EB
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 #afda7a

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#A57ADA
Analogous left#DAD57A
Analogous right#7FDA7A
Split-complement 1#7A7FDA
Split-complement 2#D57ADA
Triadic 1#7AAFDA
Triadic 2#DA7AAF
Tetradic#7ADAD5

RGB percentages

Red68.6%
Green85.5%
Blue47.8%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow44.0%
Key (black)14.5%

Color previews

#afda7a text on a black background

contrast 13.13:1

Card sample

#afda7a text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 218, 122, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 218, 122, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afda7a;
background: linear-gradient(135deg, #afda7a, #7ADA85);

Monochromatic scale

Palettes built from #afda7a

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.

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

#afda7a, answered

What color is #afda7a?

#afda7a is a light vivid green, closest to Yellow Green (ΔE2000 8). It sits at 87° on the hue wheel with 57% saturation and 67% lightness, which reads as neutral.

What is the RGB value of #afda7a?

rgb(175, 218, 122) — 175 red, 218 green and 122 blue out of 255, or 68.6% / 85.5% / 47.8% by channel.

Is #afda7a a light or a dark color?

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

Should I use black or white text on #afda7a?

Black. It scores 13.13:1 against #afda7a, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #afda7a?

#A57ADA sits directly opposite on the wheel. Softer options are the split-complements #7A7FDA and #D57ADA, which give the same contrast with far less vibration.

What colors go well with #afda7a?

For interface work: #F8FAF4 as the surface, #D9EDC0 for borders, #779B4B for secondary text, #8B77DD as an accent and #43641C for hover and pressed states. For a palette, the analogous pair #DAD57A and #7FDA7A stays calm, while #A57ADA is the loudest partner.

What is #afda7a in CMYK for printing?

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

Is #afda7a warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D2DA7A; nudged cooler, #8BDC78.

Work with #afda7a in the Color Lab