Skip to content

#afee24

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

RGB
175, 238, 36
HSL
79°, 86%, 54%
CMYK
27, 0, 85, 7
Luminance
0.7039

At a glance

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

Hex
#afee24
Hue
79°
green
Saturation
86%
electric
Lightness
54%
balanced
Brightness
93%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7039
WCAG relative
Temperature
Warm
41/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.08:1
Closest name
Green Yellow
ΔE2000 3.8
Where it sits
Hue79° of 360°
Saturation86%
Lightness54%
Temperature
Warm ← → Cool41% 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#afee24
RGBrgb(175, 238, 36)
HSLhsl(79, 86%, 54%)
CMYKcmyk(27%, 0%, 85%, 7%)
LABlab(87.2 -45.0 80.2)
LCHlch(87.2 92.0 119.3)
OKLCHoklch(0.874 0.217 127.0)
Decimal11529764
Display P3color(display-p3 0.686 0.933 0.141)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afee24 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#afee24 on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBDD00
deuteranopia · #F2D93E
tritanopia · #B6E3CB

Color scale — 50 to 950

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

#F9FDF2
#F4FAE5
#E7F7C5
#D9F797
#C6F363
#afee24
#A2E312
#87BD0F
#6C970C
#4F6D0D
#324408
Base = 500Lightest = 50 · #F9FDF2Darkest = 950 · #324408
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F4FAE5;
  --brand-200: #E7F7C5;
  --brand-300: #D9F797;
  --brand-400: #C6F363;
  --brand-500: #afee24;
  --brand-600: #A2E312;
  --brand-700: #87BD0F;
  --brand-800: #6C970C;
  --brand-900: #4F6D0D;
  --brand-950: #324408;
  --brand: #afee24;
  --brand-ink: #000000;
}

Colors that work with #afee24

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#829B4B
Captions on the surface
Accent#2C1FF3
Second voice, not a rival
Dark variant#547609
Hover, pressed, headers
Light variant#F6FDE7
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 #afee24

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#6324EE
Analogous left#EEC824
Analogous right#4AEE24
Split-complement 1#244AEE
Split-complement 2#C824EE
Triadic 1#24AFEE
Triadic 2#EE24AF
Tetradic#24EEC8

RGB percentages

Red68.6%
Green93.3%
Blue14.1%

CMYK percentages

Cyan26.5%
Magenta0.0%
Yellow84.9%
Key (black)6.7%

Color previews

#afee24 text on a black background

contrast 15.08:1

Card sample

#afee24 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 238, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 238, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afee24;
background: linear-gradient(135deg, #afee24, #28EE24);

Monochromatic scale

Palettes built from #afee24

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.

#afee24 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#afee24, answered

What color is #afee24?

#afee24 is a balanced electric green, closest to Green Yellow (ΔE2000 3.8). It sits at 79° on the hue wheel with 86% saturation and 54% lightness, which reads as warm.

What is the RGB value of #afee24?

rgb(175, 238, 36) — 175 red, 238 green and 36 blue out of 255, or 68.6% / 93.3% / 14.1% by channel.

Is #afee24 a light or a dark color?

It is a light color. Relative luminance is 0.7039 and perceived brightness is 81%, so black text on it reaches 15.08:1.

Should I use black or white text on #afee24?

Black. It scores 15.08:1 against #afee24, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #afee24?

#6324EE sits directly opposite on the wheel. Softer options are the split-complements #244AEE and #C824EE, which give the same contrast with far less vibration.

What colors go well with #afee24?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #2C1FF3 as an accent and #547609 for hover and pressed states. For a palette, the analogous pair #EEC824 and #4AEE24 stays calm, while #6324EE is the loudest partner.

What is #afee24 in CMYK for printing?

cmyk(27%, 0%, 85%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #afee24 warm or cool?

Warm — it scores 41 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EEE324; nudged cooler, #64F022.

Work with #afee24 in the Color Lab