#AFDA52#AFDA52

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

Color values

HEX#AFDA52
RGBrgb(175, 218, 82)
HSLhsl(79, 65%, 59%)
HSVhsv(79, 62%, 85%)
CMYKcmyk(19.7%, 0%, 62.4%, 14.5%)
CIE-LABlab(81.77, -33.81, 60.44)
CIE-LCHlch(81.77, 69.25, 119.22°)
OKLaboklab(83.12% -0.0967 0.1387)
OKLCHoklch(83.12% 0.169 124.9)
XYZxyz(44.2738, 59.8655, 17.2037)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA52 #7D52DA
analogous
#DAC152 #AFDA52 #6BDA52
triadic
#AFDA52 #52AFDA #DA52AF
tetradic
#AFDA52 #52DAC1 #7D52DA #DA526B
square
#AFDA52 #52DAC1 #7D52DA #DA526B
split-complementary
#AFDA52 #526BDA #C152DA
monochromatic
#6E921F #94C52A #AFDA52 #C6E584 #DEF0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFDA52#FFFFFF#000000##000000
##AFDA521.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)
#E5CD41
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda52;
/* rgb */ color: rgb(175, 218, 82);
/* oklch */ color: oklch(83.1% 0.169 124.9);
Tailwind
colors: {
  custom: {
    50: '#cae588',
    500: '#afda52',
    950: '#000000',
  },
}
SCSS
$custom: #afda52;
$custom-light: #cae588;
$custom-dark: #000000;
JSON
{
  "hex": "#afda52",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 78.971,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83123,
    "c": 0.16908,
    "h": 124.9
  },
  "luminance": 0.59866
}

Semantic roles & 50–950 ramp

primary
#AFDA52
secondary
#573997
accent
#40E875
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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