Skip to content

#afd57d

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

RGB
175, 213, 125
HSL
86°, 51%, 66%
CMYK
18, 0, 41, 17
Luminance
0.5818

At a glance

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

Hex
#afd57d
Hue
86°
green
Saturation
51%
vivid
Lightness
66%
light
Brightness
84%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5818
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
12.64:1
Closest name
Yellow Green
ΔE2000 8.5
Where it sits
Hue86° of 360°
Saturation51%
Lightness66%
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#afd57d
RGBrgb(175, 213, 125)
HSLhsl(86, 51%, 66%)
CMYKcmyk(18%, 0%, 41%, 17%)
LABlab(80.8 -27.2 39.4)
LCHlch(80.8 47.9 124.6)
OKLCHoklch(0.825 0.122 127.9)
Decimal11523453
Display P3color(display-p3 0.686 0.835 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd57d on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#afd57d on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCA76
deuteranopia · #D8C882
tritanopia · #B3CEC0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afd57d 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
#CBE4AA
#afd57d
#97C855
#83B93C
#6D9A32
#577B28
#415A20
#293814
Base = 400Lightest = 50 · #F8FAF4Darkest = 950 · #293814
:root {
  --brand-50: #F8FAF4;
  --brand-100: #F1F6EA;
  --brand-200: #E0EDCF;
  --brand-300: #CBE4AA;
  --brand-400: #afd57d;
  --brand-500: #97C855;
  --brand-600: #83B93C;
  --brand-700: #6D9A32;
  --brand-800: #577B28;
  --brand-900: #415A20;
  --brand-950: #293814;
  --brand: #afd57d;
  --brand-ink: #000000;
}

Colors that work with #afd57d

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#D9EBC1
Hairlines and dividers
Muted text#789B4B
Captions on the surface
Accent#8B7AD9
Second voice, not a rival
Dark variant#44601F
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 #afd57d

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#A37DD5
Analogous left#D5CF7D
Analogous right#83D57D
Split-complement 1#7D83D5
Split-complement 2#CF7DD5
Triadic 1#7DAFD5
Triadic 2#D57DAF
Tetradic#7DD5CF

RGB percentages

Red68.6%
Green83.5%
Blue49.0%

CMYK percentages

Cyan17.8%
Magenta0.0%
Yellow41.3%
Key (black)16.5%

Color previews

#afd57d text on a black background

contrast 12.64:1

Card sample

#afd57d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd57d

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.

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

#afd57d, answered

What color is #afd57d?

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

What is the RGB value of #afd57d?

rgb(175, 213, 125) — 175 red, 213 green and 125 blue out of 255, or 68.6% / 83.5% / 49% by channel.

Is #afd57d a light or a dark color?

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

Should I use black or white text on #afd57d?

Black. It scores 12.64:1 against #afd57d, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #afd57d?

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

What colors go well with #afd57d?

For interface work: #F8FAF4 as the surface, #D9EBC1 for borders, #789B4B for secondary text, #8B7AD9 as an accent and #44601F for hover and pressed states. For a palette, the analogous pair #D5CF7D and #83D57D stays calm, while #A37DD5 is the loudest partner.

What is #afd57d in CMYK for printing?

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

Is #afd57d 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 #CFD57D; nudged cooler, #8ED77B.

Work with #afd57d in the Color Lab