#AFD576#AFD576

#AFD576 is a very light, vivid yellow-green. Relative luminance 0.580; OKLCH L 82.4% C 0.129 H 126.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#AFD576
RGBrgb(175, 213, 118)
HSLhsl(84, 53%, 65%)
HSVhsv(84, 45%, 84%)
CMYKcmyk(17.8%, 0%, 44.6%, 16.5%)
CIE-LABlab(80.74, -28.05, 42.76)
CIE-LCHlch(80.74, 51.14, 123.26°)
OKLaboklab(82.42% -0.0777 0.1035)
OKLCHoklch(82.42% 0.129 126.9)
XYZxyz(44.7432, 58.0100, 25.9758)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD576 #9C76D5
analogous
#D5CC76 #AFD576 #7FD576
triadic
#AFD576 #76AFD5 #D576AF
tetradic
#AFD576 #76D5CC #9C76D5 #D5767F
square
#AFD576 #76D5CC #9C76D5 #D5767F
split-complementary
#AFD576 #767FD5 #CC76D5
monochromatic
#73A031 #94C747 #AFD576 #CAE3A5 #E6F2D4

Accessibility & contrast

On white

1.67
#AFD576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#AFD576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD576
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD576#FFFFFF#000000##000000
##AFD5761.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6E
Deuteranopia (green-blind)
#D8C87B
Tritanopia (blue-blind)
#B4CDBE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd576;
/* rgb */ color: rgb(175, 213, 118);
/* oklch */ color: oklch(82.4% 0.129 126.9);
Tailwind
colors: {
  custom: {
    50: '#c8e29f',
    500: '#afd576',
    950: '#000000',
  },
}
SCSS
$custom: #afd576;
$custom-light: #c8e29f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd576",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 118
  },
  "hsl": {
    "h": 84,
    "s": 53.073,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82424,
    "c": 0.12938,
    "h": 126.9
  },
  "luminance": 0.5801
}

Semantic roles & 50–950 ramp

primary
#AFD576
secondary
#6F4BA4
accent
#25C163
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150F
muted
#838480

Preview Lab

Preview with #AFD576

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

Preview Lab → · Contrast checker → · Palette generator →

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