#AFFC72#AFFC72

#AFFC72 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.2% C 0.187 H 133.2°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#AFFC72
RGBrgb(175, 252, 114)
HSLhsl(93, 96%, 72%)
HSVhsv(93, 55%, 99%)
CMYKcmyk(30.6%, 0%, 54.8%, 1.2%)
CIE-LABlab(91.66, -46.08, 57.80)
CIE-LCHlch(91.66, 73.92, 128.56°)
OKLaboklab(91.24% -0.128 0.1363)
OKLCHoklch(91.24% 0.187 133.2)
XYZxyz(55.5259, 79.9477, 28.4222)
Luminance0.7995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC72 #BF72FC
analogous
#F4FC72 #AFFC72 #72FC7A
triadic
#AFFC72 #72AFFC #FC72AF
tetradic
#AFFC72 #72F4FC #BF72FC #FC7A72
square
#AFFC72 #72F4FC #BF72FC #FC7A72
split-complementary
#AFFC72 #7A72FC #FC72F4
monochromatic
#6CEF05 #8DFB36 #AFFC72 #D1FDAE #EEFEE1

Accessibility & contrast

On white

1.24
#AFFC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#AFFC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC72
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC72#FFFFFF#000000##000000
##AFFC721.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB64
Deuteranopia (green-blind)
#FAE57B
Tritanopia (blue-blind)
#B0F3DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc72;
/* rgb */ color: rgb(175, 252, 114);
/* oklch */ color: oklch(91.2% 0.187 133.2);
Tailwind
colors: {
  custom: {
    50: '#cafe9e',
    500: '#affc72',
    950: '#000000',
  },
}
SCSS
$custom: #affc72;
$custom-light: #cafe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#affc72",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 114
  },
  "hsl": {
    "h": 93.478,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91237,
    "c": 0.18702,
    "h": 133.2
  },
  "luminance": 0.7995
}

Semantic roles & 50–950 ramp

primary
#AFFC72
secondary
#923AD8
accent
#00E680
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC72

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

Preview Lab → · Contrast checker → · Palette generator →

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