#AFE578#AFE578

#AFE578 is a very light, vivid yellow-green. Relative luminance 0.665; OKLCH L 86.1% C 0.150 H 130.6°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#AFE578
RGBrgb(175, 229, 120)
HSLhsl(90, 68%, 68%)
HSVhsv(90, 48%, 90%)
CMYKcmyk(23.6%, 0%, 47.6%, 10.2%)
CIE-LABlab(85.25, -35.28, 47.37)
CIE-LCHlch(85.25, 59.07, 126.68°)
OKLaboklab(86.07% -0.0977 0.1139)
OKLCHoklch(86.07% 0.15 130.6)
XYZxyz(49.0880, 66.5076, 28.0167)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE578 #AE78E5
analogous
#E5E578 #AFE578 #78E578
triadic
#AFE578 #78AFE5 #E578AF
tetradic
#AFE578 #78E5E5 #AE78E5 #E57878
square
#AFE578 #78E5E5 #AE78E5 #E57878
split-complementary
#AFE578 #7878E5 #E578E5
monochromatic
#72BE25 #91DB45 #AFE578 #CDEFAB #ECF9DF

Accessibility & contrast

On white

1.47
#AFE578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#AFE578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE578
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE578#FFFFFF#000000##000000
##AFE5781.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#B2DDCC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe578;
/* rgb */ color: rgb(175, 229, 120);
/* oklch */ color: oklch(86.1% 0.150 130.6);
Tailwind
colors: {
  custom: {
    50: '#c9eda1',
    500: '#afe578',
    950: '#000000',
  },
}
SCSS
$custom: #afe578;
$custom-light: #c9eda1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe578",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 120
  },
  "hsl": {
    "h": 89.725,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86068,
    "c": 0.15007,
    "h": 130.6
  },
  "luminance": 0.66509
}

Semantic roles & 50–950 ramp

primary
#AFE578
secondary
#8045BD
accent
#16D072
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE578

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

Preview Lab → · Contrast checker → · Palette generator →

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