Skip to content

#afdc78

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

RGB
175, 220, 120
HSL
87°, 59%, 67%
CMYK
21, 0, 46, 14
Luminance
0.6166

At a glance

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

Hex
#afdc78
Hue
87°
green
Saturation
59%
vivid
Lightness
67%
light
Brightness
86%
HSV value
Perceived
78%
weighted brightness
Luminance
0.6166
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.33:1
Closest name
Yellow Green
ΔE2000 7.7
Where it sits
Hue87° of 360°
Saturation59%
Lightness67%
Temperature
Warm ← → Cool48% 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#afdc78
RGBrgb(175, 220, 120)
HSLhsl(87, 59%, 67%)
CMYKcmyk(21%, 0%, 46%, 14%)
LABlab(82.7 -31.1 44.3)
LCHlch(82.7 54.1 125.1)
OKLCHoklch(0.840 0.137 128.9)
Decimal11525240
Display P3color(display-p3 0.686 0.863 0.471)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdc78 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afdc78 on black: 13.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5D070
deuteranopia · #DECD7E
tritanopia · #B3D4C4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdc78 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
#F0F7E9
#E0EFCD
#CAE8A6
#afdc78
#95D14D
#82C232
#6CA22A
#568222
#415E1C
#283B12
Base = 400Lightest = 50 · #F8FBF4Darkest = 950 · #283B12
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F0F7E9;
  --brand-200: #E0EFCD;
  --brand-300: #CAE8A6;
  --brand-400: #afdc78;
  --brand-500: #95D14D;
  --brand-600: #82C232;
  --brand-700: #6CA22A;
  --brand-800: #568222;
  --brand-900: #415E1C;
  --brand-950: #283B12;
  --brand: #afdc78;
  --brand-ink: #000000;
}

Colors that work with #afdc78

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#D8EDC0
Hairlines and dividers
Muted text#779B4B
Captions on the surface
Accent#8A75DF
Second voice, not a rival
Dark variant#43651A
Hover, pressed, headers
Light variant#F3FAEB
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 #afdc78

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#A578DC
Analogous left#DCD778
Analogous right#7DDC78
Split-complement 1#787DDC
Split-complement 2#D778DC
Triadic 1#78AFDC
Triadic 2#DC78AF
Tetradic#78DCD7

RGB percentages

Red68.6%
Green86.3%
Blue47.1%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow45.5%
Key (black)13.7%

Color previews

#afdc78 text on a black background

contrast 13.33:1

Card sample

#afdc78 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 220, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 220, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdc78;
background: linear-gradient(135deg, #afdc78, #78DC84);

Monochromatic scale

Palettes built from #afdc78

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.

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

#afdc78, answered

What color is #afdc78?

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

What is the RGB value of #afdc78?

rgb(175, 220, 120) — 175 red, 220 green and 120 blue out of 255, or 68.6% / 86.3% / 47.1% by channel.

Is #afdc78 a light or a dark color?

It is a light color. Relative luminance is 0.6166 and perceived brightness is 78%, so black text on it reaches 13.33:1.

Should I use black or white text on #afdc78?

Black. It scores 13.33:1 against #afdc78, versus 1.58:1 for white — AAA at any size.

What is the complementary color of #afdc78?

#A578DC sits directly opposite on the wheel. Softer options are the split-complements #787DDC and #D778DC, which give the same contrast with far less vibration.

What colors go well with #afdc78?

For interface work: #F8FAF4 as the surface, #D8EDC0 for borders, #779B4B for secondary text, #8A75DF as an accent and #43651A for hover and pressed states. For a palette, the analogous pair #DCD778 and #7DDC78 stays calm, while #A578DC is the loudest partner.

What is #afdc78 in CMYK for printing?

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

Is #afdc78 warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D4DC78; nudged cooler, #89DE76.

Work with #afdc78 in the Color Lab