Skip to content

#afdb49

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

RGB
175, 219, 73
HSL
78°, 67%, 57%
CMYK
20, 0, 67, 14
Luminance
0.6026

At a glance

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

Hex
#afdb49
Hue
78°
green
Saturation
67%
vivid
Lightness
57%
balanced
Brightness
86%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6026
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.05:1
Closest name
Yellow Green
ΔE2000 4
Where it sits
Hue78° of 360°
Saturation67%
Lightness57%
Temperature
Warm ← → Cool40% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#afdb49
RGBrgb(175, 219, 73)
HSLhsl(78, 67%, 57%)
CMYKcmyk(20%, 0%, 67%, 14%)
LABlab(82.0 -34.9 64.3)
LCHlch(82.0 73.1 118.5)
OKLCHoklch(0.833 0.177 124.6)
Decimal11524937
Display P3color(display-p3 0.686 0.859 0.286)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdb49 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#afdb49 on black: 13.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7CD34
deuteranopia · #E1CB55
tritanopia · #B7D1BE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdb49 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FBF3
#F3F8E8
#E6F1CA
#D6ECA1
#C1E372
#afdb49
#9BCC28
#81AA22
#67881B
#4C6317
#303E0F
Base = 500Lightest = 50 · #F9FBF3Darkest = 950 · #303E0F
:root {
  --brand-50: #F9FBF3;
  --brand-100: #F3F8E8;
  --brand-200: #E6F1CA;
  --brand-300: #D6ECA1;
  --brand-400: #C1E372;
  --brand-500: #afdb49;
  --brand-600: #9BCC28;
  --brand-700: #81AA22;
  --brand-800: #67881B;
  --brand-900: #4C6317;
  --brand-950: #303E0F;
  --brand: #afdb49;
  --brand-ink: #000000;
}

Colors that work with #afdb49

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#F9FAF4
Tinted page background
Border#DFEDC0
Hairlines and dividers
Muted text#839B4B
Captions on the surface
Accent#4D45DF
Second voice, not a rival
Dark variant#516A15
Hover, pressed, headers
Light variant#F6FBEA
Selected rows, tints
Dark surface#1F2414
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 #afdb49

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#7549DB
Analogous left#DBBE49
Analogous right#66DB49
Split-complement 1#4966DB
Split-complement 2#BE49DB
Triadic 1#49AFDB
Triadic 2#DB49AF
Tetradic#49DBBE

RGB percentages

Red68.6%
Green85.9%
Blue28.6%

CMYK percentages

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

Color previews

#afdb49 text on a black background

contrast 13.05:1

Card sample

#afdb49 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdb49

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.

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

#afdb49, answered

What color is #afdb49?

#afdb49 is a balanced vivid green, closest to Yellow Green (ΔE2000 4). It sits at 78° on the hue wheel with 67% saturation and 57% lightness, which reads as warm.

What is the RGB value of #afdb49?

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

Is #afdb49 a light or a dark color?

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

Should I use black or white text on #afdb49?

Black. It scores 13.05:1 against #afdb49, versus 1.61:1 for white — AAA at any size.

What is the complementary color of #afdb49?

#7549DB sits directly opposite on the wheel. Softer options are the split-complements #4966DB and #BE49DB, which give the same contrast with far less vibration.

What colors go well with #afdb49?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #4D45DF as an accent and #516A15 for hover and pressed states. For a palette, the analogous pair #DBBE49 and #66DB49 stays calm, while #7549DB is the loudest partner.

What is #afdb49 in CMYK for printing?

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

Is #afdb49 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DBD249; nudged cooler, #79DD47.

Work with #afdb49 in the Color Lab