Skip to content

#afd47c

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

RGB
175, 212, 124
HSL
85°, 51%, 66%
CMYK
18, 0, 42, 17
Luminance
0.5766

At a glance

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

Hex
#afd47c
Hue
85°
green
Saturation
51%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5766
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.53:1
Closest name
Yellow Green
ΔE2000 8.4
Where it sits
Hue85° of 360°
Saturation51%
Lightness66%
Temperature
Warm ← → Cool46% 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#afd47c
RGBrgb(175, 212, 124)
HSLhsl(85, 51%, 66%)
CMYKcmyk(18%, 0%, 42%, 17%)
LABlab(80.5 -26.9 39.5)
LCHlch(80.5 47.8 124.2)
OKLCHoklch(0.823 0.122 127.5)
Decimal11523196
Display P3color(display-p3 0.686 0.831 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd47c on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#afd47c on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC975
deuteranopia · #D7C781
tritanopia · #B3CDBF

Color scale — 50 to 950

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

#F8FAF4
#F1F6EA
#E0EDCF
#CBE3AB
#afd47c
#98C856
#84B83C
#6E9A32
#587B28
#425A21
#293814
Base = 400Lightest = 50 · #F8FAF4Darkest = 950 · #293814
:root {
  --brand-50: #F8FAF4;
  --brand-100: #F1F6EA;
  --brand-200: #E0EDCF;
  --brand-300: #CBE3AB;
  --brand-400: #afd47c;
  --brand-500: #98C856;
  --brand-600: #84B83C;
  --brand-700: #6E9A32;
  --brand-800: #587B28;
  --brand-900: #425A21;
  --brand-950: #293814;
  --brand: #afd47c;
  --brand-ink: #000000;
}

Colors that work with #afd47c

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#DAEBC2
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#8979D8
Second voice, not a rival
Dark variant#45601F
Hover, pressed, headers
Light variant#F3F9EC
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 #afd47c

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#A17CD4
Analogous left#D4CD7C
Analogous right#83D47C
Split-complement 1#7C83D4
Split-complement 2#CD7CD4
Triadic 1#7CAFD4
Triadic 2#D47CAF
Tetradic#7CD4CD

RGB percentages

Red68.6%
Green83.1%
Blue48.6%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow41.5%
Key (black)16.9%

Color previews

#afd47c text on a black background

contrast 12.53:1

Card sample

#afd47c text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd47c

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.

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

#afd47c, answered

What color is #afd47c?

#afd47c is a light vivid green, closest to Yellow Green (ΔE2000 8.4). It sits at 85° on the hue wheel with 51% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #afd47c?

rgb(175, 212, 124) — 175 red, 212 green and 124 blue out of 255, or 68.6% / 83.1% / 48.6% by channel.

Is #afd47c a light or a dark color?

It is a light color. Relative luminance is 0.5766 and perceived brightness is 76%, so black text on it reaches 12.53:1.

Should I use black or white text on #afd47c?

Black. It scores 12.53:1 against #afd47c, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #afd47c?

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

What colors go well with #afd47c?

For interface work: #F8FAF4 as the surface, #DAEBC2 for borders, #799B4B for secondary text, #8979D8 as an accent and #45601F for hover and pressed states. For a palette, the analogous pair #D4CD7C and #83D47C stays calm, while #A17CD4 is the loudest partner.

What is #afd47c in CMYK for printing?

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

Is #afd47c warm or cool?

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

Work with #afd47c in the Color Lab