#AFFD72#AFFD72

#AFFD72 is a very light, vivid yellow-green. Relative luminance 0.806; OKLCH L 91.5% C 0.188 H 133.3°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#AFFD72
RGBrgb(175, 253, 114)
HSLhsl(94, 97%, 72%)
HSVhsv(94, 55%, 99%)
CMYKcmyk(30.8%, 0%, 54.9%, 0.8%)
CIE-LABlab(91.94, -46.50, 58.13)
CIE-LCHlch(91.94, 74.44, 128.66°)
OKLaboklab(91.47% -0.1292 0.137)
OKLCHoklch(91.47% 0.188 133.3)
XYZxyz(55.8408, 80.5774, 28.5272)
Luminance0.8058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD72 #C072FD
analogous
#F5FD72 #AFFD72 #72FD7B
triadic
#AFFD72 #72AFFD #FD72AF
tetradic
#AFFD72 #72F5FD #C072FD #FD7B72
square
#AFFD72 #72F5FD #C072FD #FD7B72
split-complementary
#AFFD72 #7B72FD #FD72F5
monochromatic
#6CF103 #8DFC36 #AFFD72 #D1FEAE #EEFFE1

Accessibility & contrast

On white

1.23
#AFFD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#AFFD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD72
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD72#FFFFFF#000000##000000
##AFFD721.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#B0F4DE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affd72;
/* rgb */ color: rgb(175, 253, 114);
/* oklch */ color: oklch(91.5% 0.188 133.3);
Tailwind
colors: {
  custom: {
    50: '#cafe9e',
    500: '#affd72',
    950: '#000000',
  },
}
SCSS
$custom: #affd72;
$custom-light: #cafe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#affd72",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 93.669,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91466,
    "c": 0.18833,
    "h": 133.3
  },
  "luminance": 0.80579
}

Semantic roles & 50–950 ramp

primary
#AFFD72
secondary
#933AD9
accent
#00E681
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFD72

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

Preview Lab → · Contrast checker → · Palette generator →

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