#AFE984#AFE984

#AFE984 is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.2% C 0.144 H 133.1°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#AFE984
RGBrgb(175, 233, 132)
HSLhsl(94, 70%, 72%)
HSVhsv(94, 43%, 91%)
CMYKcmyk(24.9%, 0%, 43.3%, 8.6%)
CIE-LABlab(86.53, -35.70, 43.16)
CIE-LCHlch(86.53, 56.01, 129.59°)
OKLaboklab(87.15% -0.0982 0.1051)
OKLCHoklch(87.15% 0.144 133.1)
XYZxyz(50.9820, 69.0564, 32.4685)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE984 #BE84E9
analogous
#E2E984 #AFE984 #84E98C
triadic
#AFE984 #84AFE9 #E984AF
tetradic
#AFE984 #84E2E9 #BE84E9 #E98C84
square
#AFE984 #84E2E9 #BE84E9 #E98C84
split-complementary
#AFE984 #8C84E9 #E984E2
monochromatic
#6DCE25 #8DE050 #AFE984 #D1F2B8 #EEFAE5

Accessibility & contrast

On white

1.42
#AFE984 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#AFE984 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE984
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE984#FFFFFF#000000##000000
##AFE9841.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC7C
Deuteranopia (green-blind)
#E8D78A
Tritanopia (blue-blind)
#B0E2D1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe984;
/* rgb */ color: rgb(175, 233, 132);
/* oklch */ color: oklch(87.2% 0.144 133.1);
Tailwind
colors: {
  custom: {
    50: '#c9f0a9',
    500: '#afe984',
    950: '#000000',
  },
}
SCSS
$custom: #afe984;
$custom-light: #c9f0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afe984",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 132
  },
  "hsl": {
    "h": 94.455,
    "s": 69.655,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8715,
    "c": 0.14382,
    "h": 133.1
  },
  "luminance": 0.69058
}

Semantic roles & 50–950 ramp

primary
#AFE984
secondary
#914FC2
accent
#14D281
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE984

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

Preview Lab → · Contrast checker → · Palette generator →

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