#AFDD62#AFDD62

#AFDD62 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.0% C 0.160 H 126.7°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#AFDD62
RGBrgb(175, 221, 98)
HSLhsl(82, 64%, 63%)
HSVhsv(82, 56%, 87%)
CMYKcmyk(20.8%, 0%, 55.7%, 13.3%)
CIE-LABlab(82.76, -33.86, 54.62)
CIE-LCHlch(82.76, 64.26, 121.79°)
OKLaboklab(83.97% -0.0954 0.128)
OKLCHoklch(83.97% 0.16 126.7)
XYZxyz(45.7402, 61.7081, 21.0540)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD62 #9062DD
analogous
#DDCD62 #AFDD62 #71DD62
triadic
#AFDD62 #62AFDD #DD62AF
tetradic
#AFDD62 #62DDCD #9062DD #DD6271
square
#AFDD62 #62DDCD #9062DD #DD6271
split-complementary
#AFDD62 #6271DD #CD62DD
monochromatic
#72A223 #95D230 #AFDD62 #C9E894 #E2F3C7

Accessibility & contrast

On white

1.57
#AFDD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#AFDD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD62
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD62#FFFFFF#000000##000000
##AFDD621.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#E1CD6A
Tritanopia (blue-blind)
#B5D4C2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd62;
/* rgb */ color: rgb(175, 221, 98);
/* oklch */ color: oklch(84.0% 0.160 126.7);
Tailwind
colors: {
  custom: {
    50: '#c9e792',
    500: '#afdd62',
    950: '#000000',
  },
}
SCSS
$custom: #afdd62;
$custom-light: #c9e792;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd62",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 98
  },
  "hsl": {
    "h": 82.439,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83972,
    "c": 0.15969,
    "h": 126.7
  },
  "luminance": 0.61709
}

Semantic roles & 50–950 ramp

primary
#AFDD62
secondary
#653EA5
accent
#19CC5C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDD62

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

Preview Lab → · Contrast checker → · Palette generator →

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