#aff310
a balanced, electric green · warm · closest name: Green Yellow
At a glance
Every number on this page in one read: what #aff310 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #aff310 |
| RGB | rgb(175, 243, 16) |
| HSL | hsl(78, 90%, 51%) |
| CMYK | cmyk(28%, 0%, 93%, 5%) |
| LAB | lab(88.6 -47.6 84.4) |
| LCH | lch(88.6 96.9 119.4) |
| OKLCH | oklch(0.885 0.227 127.4) |
| Decimal | 11531024 |
| Display P3 | color(display-p3 0.686 0.953 0.063) |
Copy-ready code
/* CSS */
color: #aff310;
background-color: #aff310;
/* Tailwind (arbitrary) */
class="text-[#aff310] bg-[#aff310]"
/* SCSS */
$brand: #aff310;
/* SwiftUI */
Color(red: 0.686, green: 0.953, blue: 0.063)
/* Android */
Color.parseColor("#aff310")
/* Flutter */
Color(0xFFAFF310)
/* Python / OpenCV (BGR) */
(16, 243, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #aff310 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.
:root {
--brand-50: #FAFDF2;
--brand-100: #F4FBE5;
--brand-200: #E9F9C3;
--brand-300: #DBFA94;
--brand-400: #C9F75F;
--brand-500: #B7F429;
--brand-600: #aff310;
--brand-700: #8BC20A;
--brand-800: #6F9B08;
--brand-900: #52700A;
--brand-950: #334606;
--brand: #aff310;
--brand-ink: #000000;
}Colors that work with #aff310
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #aff310
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #5410F3 | Directly opposite — maximum tension | |
| Analogous left | #F3C610 | Neighbour, quieter | |
| Analogous right | #3DF310 | Neighbour, quieter | |
| Split-complement 1 | #103DF3 | Contrast without the clash | |
| Split-complement 2 | #C610F3 | Contrast without the clash | |
| Triadic 1 | #10AFF3 | Even thirds — balanced and loud | |
| Triadic 2 | #F310AF | Even thirds — balanced and loud | |
| Tetradic | #10F3C6 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#aff310 text on a black background
contrast 15.65:1
#aff310 text on a white background
contrast 1.34:1
CSS3 live lab
The quick brown fox
color: #aff310;
background-color: #aff310;
Glowing headline
text-shadow: 2px 2px 8px #aff310;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 243, 16, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 243, 16, 0.45);
border: 3px solid #aff310; background: linear-gradient(135deg, #aff310, #18F310);
Monochromatic scale
Palettes built from #aff310
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.
Closest color with a full write-up: Spring Bud (#a7fc00) — ΔE2000 2.4 away, with its history, psychology and brand usage.
#aff310 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#aff310, answered
What color is #aff310?
#aff310 is a balanced electric green, closest to Green Yellow (ΔE2000 3). It sits at 78° on the hue wheel with 90% saturation and 51% lightness, which reads as warm.
What is the RGB value of #aff310?
rgb(175, 243, 16) — 175 red, 243 green and 16 blue out of 255, or 68.6% / 95.3% / 6.3% by channel.
Is #aff310 a light or a dark color?
It is a light color. Relative luminance is 0.7325 and perceived brightness is 82%, so black text on it reaches 15.65:1.
Should I use black or white text on #aff310?
Black. It scores 15.65:1 against #aff310, versus 1.34:1 for white — AAA at any size.
What is the complementary color of #aff310?
#5410F3 sits directly opposite on the wheel. Softer options are the split-complements #103DF3 and #C610F3, which give the same contrast with far less vibration.
What colors go well with #aff310?
For interface work: #F9FAF4 as the surface, #DFEDC0 for borders, #839B4B for secondary text, #170BF8 as an accent and #577906 for hover and pressed states. For a palette, the analogous pair #F3C610 and #3DF310 stays calm, while #5410F3 is the loudest partner.
What is #aff310 in CMYK for printing?
cmyk(28%, 0%, 93%, 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 #aff310 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 #F3E410; nudged cooler, #5BF50E.