#AFFC76#AFFC76

#AFFC76 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.3% C 0.184 H 133.6°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#AFFC76
RGBrgb(175, 252, 118)
HSLhsl(94, 96%, 73%)
HSVhsv(94, 53%, 99%)
CMYKcmyk(30.6%, 0%, 53.2%, 1.2%)
CIE-LABlab(91.70, -45.67, 56.06)
CIE-LCHlch(91.70, 72.31, 129.17°)
OKLaboklab(91.28% -0.1266 0.1329)
OKLCHoklch(91.28% 0.184 133.6)
XYZxyz(55.7586, 80.0408, 29.6476)
Luminance0.8004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC76 #C376FC
analogous
#F2FC76 #AFFC76 #76FC80
triadic
#AFFC76 #76AFFC #FC76AF
tetradic
#AFFC76 #76F2FC #C376FC #FC8076
square
#AFFC76 #76F2FC #C376FC #FC8076
split-complementary
#AFFC76 #8076FC #FC76F2
monochromatic
#6AF205 #8CFB3A #AFFC76 #D2FDB2 #EEFEE1

Accessibility & contrast

On white

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

On black

17.01
#AFFC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC76
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC76#FFFFFF#000000##000000
##AFFC761.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB69
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#AFF3DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc76;
/* rgb */ color: rgb(175, 252, 118);
/* oklch */ color: oklch(91.3% 0.184 133.6);
Tailwind
colors: {
  custom: {
    50: '#cafea1',
    500: '#affc76',
    950: '#000000',
  },
}
SCSS
$custom: #affc76;
$custom-light: #cafea1;
$custom-dark: #000000;
JSON
{
  "hex": "#affc76",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 94.478,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91284,
    "c": 0.18355,
    "h": 133.6
  },
  "luminance": 0.80043
}

Semantic roles & 50–950 ramp

primary
#AFFC76
secondary
#973DD9
accent
#00E684
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC76

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

Preview Lab → · Contrast checker → · Palette generator →

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