#AFFB76#AFFB76

#AFFB76 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.1% C 0.182 H 133.5°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#AFFB76
RGBrgb(175, 251, 118)
HSLhsl(94, 94%, 72%)
HSVhsv(94, 53%, 98%)
CMYKcmyk(30.3%, 0%, 53%, 1.6%)
CIE-LABlab(91.42, -45.25, 55.73)
CIE-LCHlch(91.42, 71.79, 129.07°)
OKLaboklab(91.06% -0.1254 0.1322)
OKLCHoklch(91.06% 0.182 133.5)
XYZxyz(55.4454, 79.4144, 29.5432)
Luminance0.7942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB76 #C276FB
analogous
#F1FB76 #AFFB76 #76FB80
triadic
#AFFB76 #76AFFB #FB76AF
tetradic
#AFFB76 #76F1FB #C276FB #FB8076
square
#AFFB76 #76F1FB #C276FB #FB8076
split-complementary
#AFFB76 #8076FB #FB76F1
monochromatic
#6BF007 #8CF93B #AFFB76 #D2FDB1 #EEFEE1

Accessibility & contrast

On white

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

On black

16.88
#AFFB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB76
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB76#FFFFFF#000000##000000
##AFFB761.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA69
Deuteranopia (green-blind)
#F9E47F
Tritanopia (blue-blind)
#B0F2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb76;
/* rgb */ color: rgb(175, 251, 118);
/* oklch */ color: oklch(91.1% 0.182 133.5);
Tailwind
colors: {
  custom: {
    50: '#cafda1',
    500: '#affb76',
    950: '#000000',
  },
}
SCSS
$custom: #affb76;
$custom-light: #cafda1;
$custom-dark: #000000;
JSON
{
  "hex": "#affb76",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 118
  },
  "hsl": {
    "h": 94.286,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91055,
    "c": 0.18221,
    "h": 133.5
  },
  "luminance": 0.79416
}

Semantic roles & 50–950 ramp

primary
#AFFB76
secondary
#963ED7
accent
#00E683
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB76

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

Preview Lab → · Contrast checker → · Palette generator →

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