#AFDF80#AFDF80

#AFDF80 is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.8% C 0.133 H 130.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#AFDF80
RGBrgb(175, 223, 128)
HSLhsl(90, 60%, 69%)
HSVhsv(90, 43%, 87%)
CMYKcmyk(21.5%, 0%, 42.6%, 12.5%)
CIE-LABlab(83.68, -31.57, 41.52)
CIE-LCHlch(83.68, 52.16, 127.25°)
OKLaboklab(84.83% -0.0869 0.1012)
OKLCHoklch(84.83% 0.133 130.7)
XYZxyz(47.9625, 63.4469, 30.1374)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF80 #B080DF
analogous
#DEDF80 #AFDF80 #80DF81
triadic
#AFDF80 #80AFDF #DF80AF
tetradic
#AFDF80 #80DEDF #B080DF #DF8180
square
#AFDF80 #80DEDF #B080DF #DF8180
split-complementary
#AFDF80 #8180DF #DF80DE
monochromatic
#72B72E #90D34F #AFDF80 #CEEBB1 #EDF8E2

Accessibility & contrast

On white

1.53
#AFDF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#AFDF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF80
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF80#FFFFFF#000000##000000
##AFDF801.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D379
Deuteranopia (green-blind)
#E0CF85
Tritanopia (blue-blind)
#B2D8C8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf80;
/* rgb */ color: rgb(175, 223, 128);
/* oklch */ color: oklch(84.8% 0.133 130.7);
Tailwind
colors: {
  custom: {
    50: '#c8e9a6',
    500: '#afdf80',
    950: '#000000',
  },
}
SCSS
$custom: #afdf80;
$custom-light: #c8e9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf80",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 128
  },
  "hsl": {
    "h": 90.316,
    "s": 59.748,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84829,
    "c": 0.13339,
    "h": 130.7
  },
  "luminance": 0.63448
}

Semantic roles & 50–950 ramp

primary
#AFDF80
secondary
#824DB6
accent
#1EC774
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDF80

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

Preview Lab → · Contrast checker → · Palette generator →

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