#AFE477#AFE477

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

Color values

HEX#AFE477
RGBrgb(175, 228, 119)
HSLhsl(89, 67%, 68%)
HSVhsv(89, 48%, 89%)
CMYKcmyk(23.2%, 0%, 47.8%, 10.6%)
CIE-LABlab(84.96, -34.94, 47.49)
CIE-LCHlch(84.96, 58.96, 126.34°)
OKLaboklab(85.83% -0.0968 0.1141)
OKLCHoklch(85.83% 0.15 130.3)
XYZxyz(48.7518, 65.9316, 27.6067)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE477 #AC77E4
analogous
#E4E277 #AFE477 #78E477
triadic
#AFE477 #77AFE4 #E477AF
tetradic
#AFE477 #77E4E2 #AC77E4 #E47778
square
#AFE477 #77E4E2 #AC77E4 #E47778
split-complementary
#AFE477 #7778E4 #E277E4
monochromatic
#72BB25 #91DA44 #AFE477 #CDEEAA #EBF8DD

Accessibility & contrast

On white

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

On black

14.19
#AFE477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE477
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE477#FFFFFF#000000##000000
##AFE4771.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76E
Deuteranopia (green-blind)
#E5D37E
Tritanopia (blue-blind)
#B2DCCB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe477;
/* rgb */ color: rgb(175, 228, 119);
/* oklch */ color: oklch(85.8% 0.150 130.3);
Tailwind
colors: {
  custom: {
    50: '#c9eca0',
    500: '#afe477',
    950: '#000000',
  },
}
SCSS
$custom: #afe477;
$custom-light: #c9eca0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe477",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 89.174,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85828,
    "c": 0.14965,
    "h": 130.3
  },
  "luminance": 0.65933
}

Semantic roles & 50–950 ramp

primary
#AFE477
secondary
#7E44BB
accent
#17CF70
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE477

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

Preview Lab → · Contrast checker → · Palette generator →

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