#AFFA76#AFFA76

#AFFA76 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 90.8% C 0.181 H 133.4°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#AFFA76
RGBrgb(175, 250, 118)
HSLhsl(94, 93%, 72%)
HSVhsv(94, 53%, 98%)
CMYKcmyk(30%, 0%, 52.8%, 2%)
CIE-LABlab(91.14, -44.82, 55.40)
CIE-LCHlch(91.14, 71.26, 128.97°)
OKLaboklab(90.83% -0.1243 0.1314)
OKLCHoklch(90.83% 0.181 133.4)
XYZxyz(55.1338, 78.7913, 29.4394)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA76 #C176FA
analogous
#F1FA76 #AFFA76 #76FA7F
triadic
#AFFA76 #76AFFA #FA76AF
tetradic
#AFFA76 #76F1FA #C176FA #FA7F76
square
#AFFA76 #76F1FA #C176FA #FA7F76
split-complementary
#AFFA76 #7F76FA #FA76F1
monochromatic
#6BED09 #8DF83B #AFFA76 #D1FCB1 #EEFEE1

Accessibility & contrast

On white

1.25
#AFFA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#AFFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA76
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA76#FFFFFF#000000##000000
##AFFA761.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96A
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#B0F1DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affa76;
/* rgb */ color: rgb(175, 250, 118);
/* oklch */ color: oklch(90.8% 0.181 133.4);
Tailwind
colors: {
  custom: {
    50: '#cafca1',
    500: '#affa76',
    950: '#000000',
  },
}
SCSS
$custom: #affa76;
$custom-light: #cafca1;
$custom-dark: #000000;
JSON
{
  "hex": "#affa76",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 94.091,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90827,
    "c": 0.18086,
    "h": 133.4
  },
  "luminance": 0.78793
}

Semantic roles & 50–950 ramp

primary
#AFFA76
secondary
#943ED6
accent
#00E682
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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