Skip to content

#afdc34

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

RGB
175, 220, 52
HSL
76°, 71%, 53%
CMYK
21, 0, 76, 14
Luminance
0.6055

At a glance

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

Hex
#afdc34
Hue
76°
green
Saturation
71%
vivid
Lightness
53%
balanced
Brightness
86%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6055
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
13.11:1
Closest name
Yellow Green
ΔE2000 4.3
Where it sits
Hue76° of 360°
Saturation71%
Lightness53%
Temperature
Warm ← → Cool38% 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#afdc34
RGBrgb(175, 220, 52)
HSLhsl(76, 71%, 53%)
CMYKcmyk(21%, 0%, 76%, 14%)
LABlab(82.1 -36.5 71.7)
LCHlch(82.1 80.5 117.0)
OKLCHoklch(0.834 0.191 124.0)
Decimal11525172
Display P3color(display-p3 0.686 0.863 0.204)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afdc34 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#afdc34 on black: 13.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E9CE00
deuteranopia · #E3CC45
tritanopia · #B8D1BD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #afdc34 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.

#F9FCF3
#F4F8E7
#E7F2C9
#D9EF9F
#C6E66F
#afdc34
#A2D124
#87AE1E
#6C8B18
#506515
#323F0D
Base = 500Lightest = 50 · #F9FCF3Darkest = 950 · #323F0D
:root {
  --brand-50: #F9FCF3;
  --brand-100: #F4F8E7;
  --brand-200: #E7F2C9;
  --brand-300: #D9EF9F;
  --brand-400: #C6E66F;
  --brand-500: #afdc34;
  --brand-600: #A2D124;
  --brand-700: #87AE1E;
  --brand-800: #6C8B18;
  --brand-900: #506515;
  --brand-950: #323F0D;
  --brand: #afdc34;
  --brand-ink: #000000;
}

Colors that work with #afdc34

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#E1EDC0
Hairlines and dividers
Muted text#859B4B
Captions on the surface
Accent#322FE1
Second voice, not a rival
Dark variant#556D13
Hover, pressed, headers
Light variant#F6FBE9
Selected rows, tints
Dark surface#202414
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 #afdc34

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#6134DC
Analogous left#DCB534
Analogous right#5BDC34
Split-complement 1#345BDC
Split-complement 2#B534DC
Triadic 1#34AFDC
Triadic 2#DC34AF
Tetradic#34DCB5

RGB percentages

Red68.6%
Green86.3%
Blue20.4%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow76.4%
Key (black)13.7%

Color previews

#afdc34 text on a black background

contrast 13.11:1

Card sample

#afdc34 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afdc34

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.

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

#afdc34, answered

What color is #afdc34?

#afdc34 is a balanced vivid green, closest to Yellow Green (ΔE2000 4.3). It sits at 76° on the hue wheel with 71% saturation and 53% lightness, which reads as warm.

What is the RGB value of #afdc34?

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

Is #afdc34 a light or a dark color?

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

Should I use black or white text on #afdc34?

Black. It scores 13.11:1 against #afdc34, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #afdc34?

#6134DC sits directly opposite on the wheel. Softer options are the split-complements #345BDC and #B534DC, which give the same contrast with far less vibration.

What colors go well with #afdc34?

For interface work: #F9FAF4 as the surface, #E1EDC0 for borders, #859B4B for secondary text, #322FE1 as an accent and #556D13 for hover and pressed states. For a palette, the analogous pair #DCB534 and #5BDC34 stays calm, while #6134DC is the loudest partner.

What is #afdc34 in CMYK for printing?

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

Is #afdc34 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DCCB34; nudged cooler, #71DE31.

Work with #afdc34 in the Color Lab