#AAFA7C#AAFA7C

#AAFA7C is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 90.6% C 0.178 H 135.3°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#AAFA7C
RGBrgb(170, 250, 124)
HSLhsl(98, 93%, 73%)
HSVhsv(98, 50%, 98%)
CMYKcmyk(32%, 0%, 50.4%, 2%)
CIE-LABlab(90.95, -45.85, 52.36)
CIE-LCHlch(90.95, 69.60, 131.21°)
OKLaboklab(90.63% -0.1265 0.1252)
OKLCHoklch(90.63% 0.178 135.3)
XYZxyz(54.4000, 78.3704, 31.3256)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAFA7C #CC7CFA
analogous
#E9FA7C #AAFA7C #7CFA8D
triadic
#AAFA7C #7CAAFA #FA7CAA
tetradic
#AAFA7C #7CE9FA #CC7CFA #FA8D7C
square
#AAFA7C #7CE9FA #CC7CFA #FA8D7C
split-complementary
#AAFA7C #8D7CFA #FA7CE9
monochromatic
#5EF209 #84F841 #AAFA7C #D0FCB7 #ECFEE2

Accessibility & contrast

On white

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

On black

16.67
#AAFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAFA7C
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAFA7C#FFFFFF#000000##000000
##AAFA7C1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aafa7c;
/* rgb */ color: rgb(170, 250, 124);
/* oklch */ color: oklch(90.6% 0.178 135.3);
Tailwind
colors: {
  custom: {
    50: '#c7fca4',
    500: '#aafa7c',
    950: '#000000',
  },
}
SCSS
$custom: #aafa7c;
$custom-light: #c7fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#aafa7c",
  "rgb": {
    "r": 170,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 98.095,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90625,
    "c": 0.178,
    "h": 135.3
  },
  "luminance": 0.78372
}

Semantic roles & 50–950 ramp

primary
#AAFA7C
secondary
#A143D7
accent
#00E692
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AAFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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