#AAFA78#AAFA78

#AAFA78 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 90.6% C 0.182 H 134.8°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#AAFA78
RGBrgb(170, 250, 120)
HSLhsl(97, 93%, 73%)
HSVhsv(97, 52%, 98%)
CMYKcmyk(32%, 0%, 52%, 2%)
CIE-LABlab(90.90, -46.29, 54.15)
CIE-LCHlch(90.90, 71.23, 130.53°)
OKLaboklab(90.57% -0.1279 0.1289)
OKLCHoklch(90.57% 0.182 134.8)
XYZxyz(54.1521, 78.2712, 30.0203)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAFA78 #C878FA
analogous
#EBFA78 #AAFA78 #78FA87
triadic
#AAFA78 #78AAFA #FA78AA
tetradic
#AAFA78 #78EBFA #C878FA #FA8778
square
#AAFA78 #78EBFA #C878FA #FA8778
split-complementary
#AAFA78 #8778FA #FA78EB
monochromatic
#61EF09 #85F83D #AAFA78 #CFFCB3 #ECFEE1

Accessibility & contrast

On white

1.26
#AAFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#AAFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAFA78
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAFA78#FFFFFF#000000##000000
##AAFA781.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#A9F2DD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aafa78;
/* rgb */ color: rgb(170, 250, 120);
/* oklch */ color: oklch(90.6% 0.182 134.8);
Tailwind
colors: {
  custom: {
    50: '#c7fca2',
    500: '#aafa78',
    950: '#000000',
  },
}
SCSS
$custom: #aafa78;
$custom-light: #c7fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#aafa78",
  "rgb": {
    "r": 170,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 96.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90573,
    "c": 0.18159,
    "h": 134.8
  },
  "luminance": 0.78273
}

Semantic roles & 50–950 ramp

primary
#AAFA78
secondary
#9C40D6
accent
#00E68D
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AAFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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