#AAFA52#AAFA52

#AAFA52 is a very light, highly saturated yellow-green. Relative luminance 0.775; OKLCH L 90.2% C 0.211 H 131.5°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#AAFA52
RGBrgb(170, 250, 82)
HSLhsl(89, 94%, 65%)
HSVhsv(89, 67%, 98%)
CMYKcmyk(32%, 0%, 67.2%, 2%)
CIE-LABlab(90.56, -49.64, 69.68)
CIE-LCHlch(90.56, 85.55, 125.46°)
OKLaboklab(90.19% -0.1399 0.1582)
OKLCHoklch(90.19% 0.211 131.5)
XYZxyz(52.2856, 77.5246, 20.1899)
Luminance0.7753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAFA52 #A252FA
analogous
#FAF652 #AAFA52 #56FA52
triadic
#AAFA52 #52AAFA #FA52AA
tetradic
#AAFA52 #52FAF6 #A252FA #FA5256
square
#AAFA52 #52FAF6 #A252FA #FA5256
split-complementary
#AAFA52 #5256FA #F652FA
monochromatic
#6ECC06 #8DF817 #AAFA52 #C7FC8D #E4FDC9

Accessibility & contrast

On white

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

On black

16.51
#AAFA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAFA52
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAFA52#FFFFFF#000000##000000
##AAFA521.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE839
Deuteranopia (green-blind)
#F9E260
Tritanopia (blue-blind)
#ADF0D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aafa52;
/* rgb */ color: rgb(170, 250, 82);
/* oklch */ color: oklch(90.2% 0.211 131.5);
Tailwind
colors: {
  custom: {
    50: '#c8fc8b',
    500: '#aafa52',
    950: '#000000',
  },
}
SCSS
$custom: #aafa52;
$custom-light: #c8fc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aafa52",
  "rgb": {
    "r": 170,
    "g": 250,
    "b": 82
  },
  "hsl": {
    "h": 88.571,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.90186,
    "c": 0.21121,
    "h": 131.5
  },
  "luminance": 0.77526
}

Semantic roles & 50–950 ramp

primary
#AAFA52
secondary
#7429C7
accent
#00E66D
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AAFA52

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

Preview Lab → · Contrast checker → · Palette generator →

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