Skip to content

#aef313

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

RGB
174, 243, 19
HSL
79°, 90%, 51%
CMYK
28, 0, 92, 5
Luminance
0.7315

At a glance

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

Hex
#aef313
Hue
79°
green
Saturation
90%
electric
Lightness
51%
balanced
Brightness
95%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7315
WCAG relative
Temperature
Warm
40/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.63:1
Closest name
Green Yellow
ΔE2000 2.9
Where it sits
Hue79° of 360°
Saturation90%
Lightness51%
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#aef313
RGBrgb(174, 243, 19)
HSLhsl(79, 90%, 51%)
CMYKcmyk(28%, 0%, 92%, 5%)
LABlab(88.5 -47.9 84.0)
LCHlch(88.5 96.7 119.7)
OKLCHoklch(0.885 0.227 127.7)
Decimal11465491
Display P3color(display-p3 0.682 0.953 0.075)

Copy-ready code

/* CSS */
color: #aef313;
background-color: #aef313;
/* Tailwind (arbitrary) */
class="text-[#aef313] bg-[#aef313]"
/* SCSS */
$brand: #aef313;
/* SwiftUI */
Color(red: 0.682, green: 0.953, blue: 0.075)
/* Android */
Color.parseColor("#aef313")
/* Flutter */
Color(0xFFAEF313)
/* Python / OpenCV (BGR) */
(19, 243, 174)

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 #aef313 · 15.63:1
Use #000000AAA at every size.
Aa
White text · 1.34:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.63:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #aef313 as text scores 1.34:1 on white and 15.63:1 on black.

Accessibility — WCAG contrast

Aa
#aef313 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#aef313 on black: 15.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #F6DD38
tritanopia · #B5E7CF

Color scale — 50 to 950

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

#F9FDF2
#F4FBE5
#E8F8C3
#DAFA94
#C8F75F
#B6F429
#aef313
#89C20A
#6E9B08
#51700A
#324606
Base = 600Lightest = 50 · #F9FDF2Darkest = 950 · #324606
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F4FBE5;
  --brand-200: #E8F8C3;
  --brand-300: #DAFA94;
  --brand-400: #C8F75F;
  --brand-500: #B6F429;
  --brand-600: #aef313;
  --brand-700: #89C20A;
  --brand-800: #6E9B08;
  --brand-900: #51700A;
  --brand-950: #324606;
  --brand: #aef313;
  --brand-ink: #000000;
}

Colors that work with #aef313

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#1C0EF8
Second voice, not a rival
Dark variant#567906
Hover, pressed, headers
Light variant#F7FEE7
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 #aef313

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#5813F3
Analogous left#F3C813
Analogous right#3EF313
Split-complement 1#133EF3
Split-complement 2#C813F3
Triadic 1#13AEF3
Triadic 2#F313AE
Tetradic#13F3C8

RGB percentages

Red68.2%
Green95.3%
Blue7.5%

CMYK percentages

Cyan28.4%
Magenta0.0%
Yellow92.2%
Key (black)4.7%

Color previews

#aef313 text on a black background

contrast 15.63:1

Card sample

#aef313 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 243, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 243, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aef313;
background: linear-gradient(135deg, #aef313, #19F313);

Monochromatic scale

Palettes built from #aef313

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.

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

#aef313, answered

What color is #aef313?

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

What is the RGB value of #aef313?

rgb(174, 243, 19) — 174 red, 243 green and 19 blue out of 255, or 68.2% / 95.3% / 7.5% by channel.

Is #aef313 a light or a dark color?

It is a light color. Relative luminance is 0.7315 and perceived brightness is 82%, so black text on it reaches 15.63:1.

Should I use black or white text on #aef313?

Black. It scores 15.63:1 against #aef313, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #aef313?

#5813F3 sits directly opposite on the wheel. Softer options are the split-complements #133EF3 and #C813F3, which give the same contrast with far less vibration.

What colors go well with #aef313?

For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #829B4B for secondary text, #1C0EF8 as an accent and #567906 for hover and pressed states. For a palette, the analogous pair #F3C813 and #3EF313 stays calm, while #5813F3 is the loudest partner.

What is #aef313 in CMYK for printing?

cmyk(28%, 0%, 92%, 5%). 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 #aef313 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 #F3E613; nudged cooler, #5BF511.

Work with #aef313 in the Color Lab