#AFDA72#AFDA72

#AFDA72 is a very light, vivid yellow-green. Relative luminance 0.605; OKLCH L 83.5% C 0.141 H 127.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#AFDA72
RGBrgb(175, 218, 114)
HSLhsl(85, 58%, 65%)
HSVhsv(85, 48%, 85%)
CMYKcmyk(19.7%, 0%, 47.7%, 14.5%)
CIE-LABlab(82.09, -30.86, 46.37)
CIE-LCHlch(82.09, 55.70, 123.64°)
OKLaboklab(83.49% -0.0858 0.1113)
OKLCHoklch(83.49% 0.141 127.6)
XYZxyz(45.7876, 60.4710, 25.1761)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA72 #9D72DA
analogous
#DAD172 #AFDA72 #7BDA72
triadic
#AFDA72 #72AFDA #DA72AF
tetradic
#AFDA72 #72DAD1 #9D72DA #DA727B
square
#AFDA72 #72DAD1 #9D72DA #DA727B
split-complementary
#AFDA72 #727BDA #D172DA
monochromatic
#73A62C #93CD42 #AFDA72 #CBE7A2 #E6F3D3

Accessibility & contrast

On white

1.60
#AFDA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#AFDA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA72
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA72#FFFFFF#000000##000000
##AFDA721.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#DDCB78
Tritanopia (blue-blind)
#B4D2C2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afda72;
/* rgb */ color: rgb(175, 218, 114);
/* oklch */ color: oklch(83.5% 0.141 127.6);
Tailwind
colors: {
  custom: {
    50: '#c9e59c',
    500: '#afda72',
    950: '#000000',
  },
}
SCSS
$custom: #afda72;
$custom-light: #c9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#afda72",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 114
  },
  "hsl": {
    "h": 84.808,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83494,
    "c": 0.14054,
    "h": 127.6
  },
  "luminance": 0.60472
}

Semantic roles & 50–950 ramp

primary
#AFDA72
secondary
#7047A9
accent
#1FC664
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFDA72

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

Preview Lab → · Contrast checker → · Palette generator →

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