#AFFC82#AFFC82

#AFFC82 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 91.4% C 0.173 H 135.1°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#AFFC82
RGBrgb(175, 252, 130)
HSLhsl(98, 95%, 75%)
HSVhsv(98, 48%, 99%)
CMYKcmyk(30.6%, 0%, 48.4%, 1.2%)
CIE-LABlab(91.84, -44.37, 50.72)
CIE-LCHlch(91.84, 67.39, 131.18°)
OKLaboklab(91.44% -0.1223 0.1219)
OKLCHoklch(91.44% 0.173 135.1)
XYZxyz(56.5176, 80.3444, 33.6450)
Luminance0.8035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC82 #CF82FC
analogous
#ECFC82 #AFFC82 #82FC92
triadic
#AFFC82 #82AFFC #FC82AF
tetradic
#AFFC82 #82ECFC #CF82FC #FC9282
square
#AFFC82 #82ECFC #CF82FC #FC9282
split-complementary
#AFFC82 #9282FC #FC82EC
monochromatic
#62F90A #89FB46 #AFFC82 #D5FDBE #ECFEE1

Accessibility & contrast

On white

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

On black

17.07
#AFFC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC82
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC82#FFFFFF#000000##000000
##AFFC821.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affc82;
/* rgb */ color: rgb(175, 252, 130);
/* oklch */ color: oklch(91.4% 0.173 135.1);
Tailwind
colors: {
  custom: {
    50: '#cafea8',
    500: '#affc82',
    950: '#000000',
  },
}
SCSS
$custom: #affc82;
$custom-light: #cafea8;
$custom-dark: #000000;
JSON
{
  "hex": "#affc82",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 130
  },
  "hsl": {
    "h": 97.869,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91439,
    "c": 0.17268,
    "h": 135.1
  },
  "luminance": 0.80346
}

Semantic roles & 50–950 ramp

primary
#AFFC82
secondary
#A448DA
accent
#00E691
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131810
muted
#838681

Preview Lab

Preview with #AFFC82

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

Preview Lab → · Contrast checker → · Palette generator →

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