#AFE976#AFE976

#AFE976 is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 86.9% C 0.158 H 131.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#AFE976
RGBrgb(175, 233, 118)
HSLhsl(90, 72%, 69%)
HSVhsv(90, 49%, 91%)
CMYKcmyk(24.9%, 0%, 49.4%, 8.6%)
CIE-LABlab(86.35, -37.32, 49.66)
CIE-LCHlch(86.35, 62.12, 126.93°)
OKLaboklab(86.95% -0.1035 0.1188)
OKLCHoklch(86.95% 0.158 131.1)
XYZxyz(50.0875, 68.6986, 27.7573)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE976 #B076E9
analogous
#E9E976 #AFE976 #76E977
triadic
#AFE976 #76AFE9 #E976AF
tetradic
#AFE976 #76E9E9 #B076E9 #E97776
square
#AFE976 #76E9E9 #B076E9 #E97776
split-complementary
#AFE976 #7776E9 #E976E9
monochromatic
#72C520 #90E141 #AFE976 #CEF1AB #EDFADF

Accessibility & contrast

On white

1.42
#AFE976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#AFE976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE976
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE976#FFFFFF#000000##000000
##AFE9761.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6C
Deuteranopia (green-blind)
#E9D77D
Tritanopia (blue-blind)
#B2E1CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe976;
/* rgb */ color: rgb(175, 233, 118);
/* oklch */ color: oklch(86.9% 0.158 131.1);
Tailwind
colors: {
  custom: {
    50: '#c9f0a0',
    500: '#afe976',
    950: '#000000',
  },
}
SCSS
$custom: #afe976;
$custom-light: #c9f0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe976",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 118
  },
  "hsl": {
    "h": 90.261,
    "s": 72.327,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86949,
    "c": 0.1576,
    "h": 131.1
  },
  "luminance": 0.687
}

Semantic roles & 50–950 ramp

primary
#AFE976
secondary
#8242C1
accent
#11D474
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE976

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

Preview Lab → · Contrast checker → · Palette generator →

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