Skip to content

#afdc70

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

RGB
175, 220, 112
HSL
85°, 61%, 65%
CMYK
21, 0, 49, 14
Luminance
0.6147

At a glance

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

Hex
#afdc70
Hue
85°
green
Saturation
61%
vivid
Lightness
65%
light
Brightness
86%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6147
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.29:1
Closest name
Yellow Green
ΔE2000 6.7
Where it sits
Hue85° of 360°
Saturation61%
Lightness65%
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#afdc70
RGBrgb(175, 220, 112)
HSLhsl(85, 61%, 65%)
CMYKcmyk(21%, 0%, 49%, 14%)
LABlab(82.6 -32.0 48.0)
LCHlch(82.6 57.7 123.7)
OKLCHoklch(0.839 0.145 127.9)
Decimal11525232
Display P3color(display-p3 0.686 0.863 0.439)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdc70 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#afdc70 on black: 13.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5D067
deuteranopia · #DFCD76
tritanopia · #B4D4C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdc70 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
#F1F7E8
#E1F0CC
#CDE9A5
#afdc70
#9AD34B
#87C530
#70A428
#5A8320
#435F1B
#2A3C11
Base = 400Lightest = 50 · #F8FBF4Darkest = 950 · #2A3C11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E8;
  --brand-200: #E1F0CC;
  --brand-300: #CDE9A5;
  --brand-400: #afdc70;
  --brand-500: #9AD34B;
  --brand-600: #87C530;
  --brand-700: #70A428;
  --brand-800: #5A8320;
  --brand-900: #435F1B;
  --brand-950: #2A3C11;
  --brand: #afdc70;
  --brand-ink: #000000;
}

Colors that work with #afdc70

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#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#806CE0
Second voice, not a rival
Dark variant#466619
Hover, pressed, headers
Light variant#F4FAEB
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 #afdc70

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#9D70DC
Analogous left#DCD370
Analogous right#79DC70
Split-complement 1#7079DC
Split-complement 2#D370DC
Triadic 1#70AFDC
Triadic 2#DC70AF
Tetradic#70DCD3

RGB percentages

Red68.6%
Green86.3%
Blue43.9%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow49.1%
Key (black)13.7%

Color previews

#afdc70 text on a black background

contrast 13.29:1

Card sample

#afdc70 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdc70

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.

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

#afdc70, answered

What color is #afdc70?

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

What is the RGB value of #afdc70?

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

Is #afdc70 a light or a dark color?

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

Should I use black or white text on #afdc70?

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

What is the complementary color of #afdc70?

#9D70DC sits directly opposite on the wheel. Softer options are the split-complements #7079DC and #D370DC, which give the same contrast with far less vibration.

What colors go well with #afdc70?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #806CE0 as an accent and #466619 for hover and pressed states. For a palette, the analogous pair #DCD370 and #79DC70 stays calm, while #9D70DC is the loudest partner.

What is #afdc70 in CMYK for printing?

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

Is #afdc70 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 #D7DC70; nudged cooler, #86DE6E.

Work with #afdc70 in the Color Lab