#AFE479#AFE479

#AFE479 is a very light, vivid yellow-green. Relative luminance 0.660; OKLCH L 85.9% C 0.148 H 130.6°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#AFE479
RGBrgb(175, 228, 121)
HSLhsl(90, 66%, 68%)
HSVhsv(90, 47%, 89%)
CMYKcmyk(23.2%, 0%, 46.9%, 10.6%)
CIE-LABlab(84.99, -34.71, 46.56)
CIE-LCHlch(84.99, 58.08, 126.71°)
OKLaboklab(85.86% -0.0961 0.1121)
OKLCHoklch(85.86% 0.148 130.6)
XYZxyz(48.8732, 65.9802, 28.2460)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE479 #AE79E4
analogous
#E4E479 #AFE479 #79E479
triadic
#AFE479 #79AFE4 #E479AF
tetradic
#AFE479 #79E4E4 #AE79E4 #E47979
square
#AFE479 #79E4E4 #AE79E4 #E47979
split-complementary
#AFE479 #7979E4 #E479E4
monochromatic
#72BD26 #91DA46 #AFE479 #CDEEAC #ECF9DF

Accessibility & contrast

On white

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

On black

14.20
#AFE479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE479
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE479#FFFFFF#000000##000000
##AFE4791.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe479;
/* rgb */ color: rgb(175, 228, 121);
/* oklch */ color: oklch(85.9% 0.148 130.6);
Tailwind
colors: {
  custom: {
    50: '#c9eca2',
    500: '#afe479',
    950: '#000000',
  },
}
SCSS
$custom: #afe479;
$custom-light: #c9eca2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe479",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 121
  },
  "hsl": {
    "h": 89.72,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85856,
    "c": 0.14768,
    "h": 130.6
  },
  "luminance": 0.65981
}

Semantic roles & 50–950 ramp

primary
#AFE479
secondary
#8046BB
accent
#17CE72
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE479

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

Preview Lab → · Contrast checker → · Palette generator →

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