#AFDA50#AFDA50

#AFDA50 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.1% C 0.171 H 124.8°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#AFDA50
RGBrgb(175, 218, 80)
HSLhsl(79, 65%, 58%)
HSVhsv(79, 63%, 85%)
CMYKcmyk(19.7%, 0%, 63.3%, 14.5%)
CIE-LABlab(81.75, -33.96, 61.24)
CIE-LCHlch(81.75, 70.03, 119.01°)
OKLaboklab(83.1% -0.0973 0.1401)
OKLCHoklch(83.1% 0.171 124.8)
XYZxyz(44.1988, 59.8355, 16.8087)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA50 #7B50DA
analogous
#DAC050 #AFDA50 #6ADA50
triadic
#AFDA50 #50AFDA #DA50AF
tetradic
#AFDA50 #50DAC0 #7B50DA #DA506A
square
#AFDA50 #50DAC0 #7B50DA #DA506A
split-complementary
#AFDA50 #506ADA #C050DA
monochromatic
#6D911F #93C329 #AFDA50 #C6E583 #DDEFB5

Accessibility & contrast

On white

1.62
#AFDA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#AFDA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA50
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA50#FFFFFF#000000##000000
##AFDA501.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD3F
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#B6D0BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda50;
/* rgb */ color: rgb(175, 218, 80);
/* oklch */ color: oklch(83.1% 0.171 124.8);
Tailwind
colors: {
  custom: {
    50: '#cae587',
    500: '#afda50',
    950: '#000000',
  },
}
SCSS
$custom: #afda50;
$custom-light: #cae587;
$custom-dark: #000000;
JSON
{
  "hex": "#afda50",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 80
  },
  "hsl": {
    "h": 78.696,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.1706,
    "h": 124.8
  },
  "luminance": 0.59836
}

Semantic roles & 50–950 ramp

primary
#AFDA50
secondary
#553896
accent
#40E874
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA50

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

Preview Lab → · Contrast checker → · Palette generator →

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