#AFDD72#AFDD72

#AFDD72 is a very light, vivid yellow-green. Relative luminance 0.620; OKLCH L 84.2% C 0.145 H 128.3°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#AFDD72
RGBrgb(175, 221, 114)
HSLhsl(86, 61%, 66%)
HSVhsv(86, 48%, 87%)
CMYKcmyk(20.8%, 0%, 48.4%, 13.3%)
CIE-LABlab(82.94, -32.26, 47.40)
CIE-LCHlch(82.94, 57.34, 124.24°)
OKLaboklab(84.17% -0.0897 0.1136)
OKLCHoklch(84.17% 0.145 128.3)
XYZxyz(46.5725, 62.0410, 25.4378)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDD72 #A072DD
analogous
#DDD572 #AFDD72 #79DD72
triadic
#AFDD72 #72AFDD #DD72AF
tetradic
#AFDD72 #72DDD5 #A072DD #DD7279
square
#AFDD72 #72DDD5 #A072DD #DD7279
split-complementary
#AFDD72 #7279DD #D572DD
monochromatic
#73AB29 #93D141 #AFDD72 #CBE9A3 #E7F5D5

Accessibility & contrast

On white

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

On black

13.41
#AFDD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDD72
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDD72#FFFFFF#000000##000000
##AFDD721.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D169
Deuteranopia (green-blind)
#DFCE78
Tritanopia (blue-blind)
#B3D5C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdd72;
/* rgb */ color: rgb(175, 221, 114);
/* oklch */ color: oklch(84.2% 0.145 128.3);
Tailwind
colors: {
  custom: {
    50: '#c9e79d',
    500: '#afdd72',
    950: '#000000',
  },
}
SCSS
$custom: #afdd72;
$custom-light: #c9e79d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdd72",
  "rgb": {
    "r": 175,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 85.794,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84173,
    "c": 0.14473,
    "h": 128.3
  },
  "luminance": 0.62042
}

Semantic roles & 50–950 ramp

primary
#AFDD72
secondary
#7246AE
accent
#1DC967
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDD72

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

Preview Lab → · Contrast checker → · Palette generator →

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