#AFE476#AFE476

#AFE476 is a very light, vivid yellow-green. Relative luminance 0.659; OKLCH L 85.8% C 0.151 H 130.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#AFE476
RGBrgb(175, 228, 118)
HSLhsl(89, 67%, 68%)
HSVhsv(89, 48%, 89%)
CMYKcmyk(23.2%, 0%, 48.2%, 10.6%)
CIE-LABlab(84.95, -35.05, 47.95)
CIE-LCHlch(84.95, 59.39, 126.17°)
OKLaboklab(85.81% -0.0972 0.115)
OKLCHoklch(85.81% 0.151 130.2)
XYZxyz(48.6920, 65.9077, 27.2921)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE476 #AB76E4
analogous
#E4E276 #AFE476 #78E476
triadic
#AFE476 #76AFE4 #E476AF
tetradic
#AFE476 #76E4E2 #AB76E4 #E47678
square
#AFE476 #76E4E2 #AB76E4 #E47678
split-complementary
#AFE476 #7678E4 #E276E4
monochromatic
#73BB25 #91DA43 #AFE476 #CDEEA9 #EBF8DC

Accessibility & contrast

On white

1.48
#AFE476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#AFE476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE476
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE476#FFFFFF#000000##000000
##AFE4761.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76D
Deuteranopia (green-blind)
#E5D37D
Tritanopia (blue-blind)
#B2DCCA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe476;
/* rgb */ color: rgb(175, 228, 118);
/* oklch */ color: oklch(85.8% 0.151 130.2);
Tailwind
colors: {
  custom: {
    50: '#c9eca0',
    500: '#afe476',
    950: '#000000',
  },
}
SCSS
$custom: #afe476;
$custom-light: #c9eca0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe476",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 118
  },
  "hsl": {
    "h": 88.909,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85814,
    "c": 0.15062,
    "h": 130.2
  },
  "luminance": 0.65909
}

Semantic roles & 50–950 ramp

primary
#AFE476
secondary
#7D43BB
accent
#17CF6F
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE476

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

Preview Lab → · Contrast checker → · Palette generator →

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