#AFDD52#AFDD52

#AFDD52 is a very light, vivid yellow-green. Relative luminance 0.614; OKLCH L 83.8% C 0.173 H 125.6°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#AFDD52
RGBrgb(175, 221, 82)
HSLhsl(80, 67%, 59%)
HSVhsv(80, 63%, 87%)
CMYKcmyk(20.8%, 0%, 62.9%, 13.3%)
CIE-LABlab(82.61, -35.19, 61.35)
CIE-LCHlch(82.61, 70.73, 119.83°)
OKLaboklab(83.81% -0.1005 0.1406)
OKLCHoklch(83.81% 0.173 125.6)
XYZxyz(45.0588, 61.4355, 17.4654)
Luminance0.6144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD52 #8052DD
analogous
#DDC652 #AFDD52 #6ADD52
triadic
#AFDD52 #52AFDD #DD52AF
tetradic
#AFDD52 #52DDC6 #8052DD #DD526A
square
#AFDD52 #52DDC6 #8052DD #DD526A
split-complementary
#AFDD52 #526ADD #C652DD
monochromatic
#6F971E #94CA28 #AFDD52 #C7E785 #DEF1B8

Accessibility & contrast

On white

1.58
#AFDD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#AFDD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD52
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD52#FFFFFF#000000##000000
##AFDD521.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#B6D3C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd52;
/* rgb */ color: rgb(175, 221, 82);
/* oklch */ color: oklch(83.8% 0.173 125.6);
Tailwind
colors: {
  custom: {
    50: '#cae789',
    500: '#afdd52',
    950: '#000000',
  },
}
SCSS
$custom: #afdd52;
$custom-light: #cae789;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd52",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 79.856,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83808,
    "c": 0.17285,
    "h": 125.6
  },
  "luminance": 0.61436
}

Semantic roles & 50–950 ramp

primary
#AFDD52
secondary
#59389B
accent
#3EEA77
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDD52

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

Preview Lab → · Contrast checker → · Palette generator →

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