#AFD976#AFD976

#AFD976 is a very light, vivid yellow-green. Relative luminance 0.600; OKLCH L 83.3% C 0.135 H 127.9°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#AFD976
RGBrgb(175, 217, 118)
HSLhsl(85, 57%, 66%)
HSVhsv(85, 46%, 85%)
CMYKcmyk(19.4%, 0%, 45.6%, 14.9%)
CIE-LABlab(81.86, -29.94, 44.15)
CIE-LCHlch(81.86, 53.35, 124.14°)
OKLaboklab(83.33% -0.083 0.1066)
OKLCHoklch(83.33% 0.135 127.9)
XYZxyz(45.7617, 60.0470, 26.3153)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD976 #A076D9
analogous
#D9D276 #AFD976 #7DD976
triadic
#AFD976 #76AFD9 #D976AF
tetradic
#AFD976 #76D9D2 #A076D9 #D9767D
square
#AFD976 #76D9D2 #A076D9 #D9767D
split-complementary
#AFD976 #767DD9 #D276D9
monochromatic
#73A62E #93CC46 #AFD976 #CBE6A6 #E7F4D6

Accessibility & contrast

On white

1.61
#AFD976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#AFD976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD976
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD976#FFFFFF#000000##000000
##AFD9761.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6E
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#B3D1C2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd976;
/* rgb */ color: rgb(175, 217, 118);
/* oklch */ color: oklch(83.3% 0.135 127.9);
Tailwind
colors: {
  custom: {
    50: '#c8e59f',
    500: '#afd976',
    950: '#000000',
  },
}
SCSS
$custom: #afd976;
$custom-light: #c8e59f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd976",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 85.455,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83325,
    "c": 0.13509,
    "h": 127.9
  },
  "luminance": 0.60048
}

Semantic roles & 50–950 ramp

primary
#AFD976
secondary
#7249AA
accent
#21C466
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFD976

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

Preview Lab → · Contrast checker → · Palette generator →

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