#AFFC84#AFFC84

#AFFC84 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.5% C 0.171 H 135.4°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#AFFC84
RGBrgb(175, 252, 132)
HSLhsl(99, 95%, 75%)
HSVhsv(99, 48%, 99%)
CMYKcmyk(30.6%, 0%, 47.6%, 1.2%)
CIE-LABlab(91.86, -44.14, 49.81)
CIE-LCHlch(91.86, 66.55, 131.55°)
OKLaboklab(91.47% -0.1215 0.12)
OKLCHoklch(91.47% 0.171 135.4)
XYZxyz(56.6531, 80.3986, 34.3588)
Luminance0.8040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC84 #D184FC
analogous
#EBFC84 #AFFC84 #84FC95
triadic
#AFFC84 #84AFFC #FC84AF
tetradic
#AFFC84 #84EBFC #D184FC #FC9584
square
#AFFC84 #84EBFC #D184FC #FC9584
split-complementary
#AFFC84 #9584FC #FC84EB
monochromatic
#61F90D #88FB48 #AFFC84 #D6FDC0 #ECFEE1

Accessibility & contrast

On white

1.23
#AFFC84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#AFFC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC84
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC84#FFFFFF#000000##000000
##AFFC841.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7A
Deuteranopia (green-blind)
#F8E58C
Tritanopia (blue-blind)
#AEF4E0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc84;
/* rgb */ color: rgb(175, 252, 132);
/* oklch */ color: oklch(91.5% 0.171 135.4);
Tailwind
colors: {
  custom: {
    50: '#cafeaa',
    500: '#affc84',
    950: '#000000',
  },
}
SCSS
$custom: #affc84;
$custom-light: #cafeaa;
$custom-dark: #000000;
JSON
{
  "hex": "#affc84",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 132
  },
  "hsl": {
    "h": 98.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91466,
    "c": 0.17081,
    "h": 135.4
  },
  "luminance": 0.80401
}

Semantic roles & 50–950 ramp

primary
#AFFC84
secondary
#A749DB
accent
#00E693
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFC84

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

Preview Lab → · Contrast checker → · Palette generator →

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