#AAFA57#AAFA57

#AAFA57 is a very light, highly saturated yellow-green. Relative luminance 0.776; OKLCH L 90.2% C 0.208 H 131.8°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#AAFA57
RGBrgb(170, 250, 87)
HSLhsl(89, 94%, 66%)
HSVhsv(89, 65%, 98%)
CMYKcmyk(32%, 0%, 65.2%, 2%)
CIE-LABlab(90.60, -49.28, 67.82)
CIE-LCHlch(90.60, 83.83, 126.00°)
OKLaboklab(90.23% -0.1385 0.1549)
OKLCHoklch(90.23% 0.208 131.8)
XYZxyz(52.4829, 77.6035, 21.2287)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAFA57 #A757FA
analogous
#FAF957 #AAFA57 #58FA57
triadic
#AAFA57 #57AAFA #FA57AA
tetradic
#AAFA57 #57FAF9 #A757FA #FA5758
square
#AAFA57 #57FAF9 #A757FA #FA5758
split-complementary
#AAFA57 #5758FA #F957FA
monochromatic
#6DD006 #8CF81C #AAFA57 #C8FC92 #E6FECE

Accessibility & contrast

On white

1.27
#AAFA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#AAFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAFA57
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAFA57#FFFFFF#000000##000000
##AAFA571.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE841
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#ACF0D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aafa57;
/* rgb */ color: rgb(170, 250, 87);
/* oklch */ color: oklch(90.2% 0.208 131.8);
Tailwind
colors: {
  custom: {
    50: '#c8fc8e',
    500: '#aafa57',
    950: '#000000',
  },
}
SCSS
$custom: #aafa57;
$custom-light: #c8fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aafa57",
  "rgb": {
    "r": 170,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 89.448,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90227,
    "c": 0.20785,
    "h": 131.8
  },
  "luminance": 0.77605
}

Semantic roles & 50–950 ramp

primary
#AAFA57
secondary
#792ACB
accent
#00E671
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AAFA57

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AAFA57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva