Skip to content

#afdb6c

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

RGB
175, 219, 108
HSL
84°, 61%, 64%
CMYK
20, 0, 51, 14
Luminance
0.6086

At a glance

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

Hex
#afdb6c
Hue
84°
green
Saturation
61%
vivid
Lightness
64%
balanced
Brightness
86%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6086
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.17:1
Closest name
Yellow Green
ΔE2000 6.2
Where it sits
Hue84° of 360°
Saturation61%
Lightness64%
Temperature
Warm ← → Cool45% 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#afdb6c
RGBrgb(175, 219, 108)
HSLhsl(84, 61%, 64%)
CMYKcmyk(20%, 0%, 51%, 14%)
LABlab(82.3 -32.0 49.5)
LCHlch(82.3 58.9 122.9)
OKLCHoklch(0.836 0.148 127.2)
Decimal11524972
Display P3color(display-p3 0.686 0.859 0.424)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb6c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#afdb6c on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5CF62
deuteranopia · #DECC73
tritanopia · #B4D2C2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdb6c 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
#E2F0CC
#CEE9A5
#afdb6c
#9DD34B
#8AC530
#73A428
#5C8320
#445F1B
#2B3C11
Base = 400Lightest = 50 · #F8FBF4Darkest = 950 · #2B3C11
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F1F7E8;
  --brand-200: #E2F0CC;
  --brand-300: #CEE9A5;
  --brand-400: #afdb6c;
  --brand-500: #9DD34B;
  --brand-600: #8AC530;
  --brand-700: #73A428;
  --brand-800: #5C8320;
  --brand-900: #445F1B;
  --brand-950: #2B3C11;
  --brand: #afdb6c;
  --brand-ink: #000000;
}

Colors that work with #afdb6c

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#DBEDC0
Hairlines and dividers
Muted text#7B9B4B
Captions on the surface
Accent#7A68DF
Second voice, not a rival
Dark variant#486619
Hover, pressed, headers
Light variant#F4FAEB
Selected rows, tints
Dark surface#1E2414
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 #afdb6c

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
  • 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
  • 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#986CDB
Analogous left#DBD06C
Analogous right#77DB6C
Split-complement 1#6C77DB
Split-complement 2#D06CDB
Triadic 1#6CAFDB
Triadic 2#DB6CAF
Tetradic#6CDBD0

RGB percentages

Red68.6%
Green85.9%
Blue42.4%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow50.7%
Key (black)14.1%

Color previews

#afdb6c text on a black background

contrast 13.17:1

Card sample

#afdb6c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 219, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 219, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afdb6c;
background: linear-gradient(135deg, #afdb6c, #6CDB73);

Monochromatic scale

Palettes built from #afdb6c

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.

#afdb6c 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#afdb6c, answered

What color is #afdb6c?

#afdb6c is a balanced vivid green, closest to Yellow Green (ΔE2000 6.2). It sits at 84° on the hue wheel with 61% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #afdb6c?

rgb(175, 219, 108) — 175 red, 219 green and 108 blue out of 255, or 68.6% / 85.9% / 42.4% by channel.

Is #afdb6c a light or a dark color?

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

Should I use black or white text on #afdb6c?

Black. It scores 13.17:1 against #afdb6c, versus 1.59:1 for white — AAA at any size.

What is the complementary color of #afdb6c?

#986CDB sits directly opposite on the wheel. Softer options are the split-complements #6C77DB and #D06CDB, which give the same contrast with far less vibration.

What colors go well with #afdb6c?

For interface work: #F8FAF4 as the surface, #DBEDC0 for borders, #7B9B4B for secondary text, #7A68DF as an accent and #486619 for hover and pressed states. For a palette, the analogous pair #DBD06C and #77DB6C stays calm, while #986CDB is the loudest partner.

What is #afdb6c in CMYK for printing?

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

Is #afdb6c warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D8DB6C; nudged cooler, #85DD6A.

Work with #afdb6c in the Color Lab