#AFE489#AFE489

#AFE489 is a very light, vivid yellow-green. Relative luminance 0.664; OKLCH L 86.1% C 0.131 H 133.2°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#AFE489
RGBrgb(175, 228, 137)
HSLhsl(95, 63%, 72%)
HSVhsv(95, 40%, 89%)
CMYKcmyk(23.2%, 0%, 39.9%, 10.6%)
CIE-LABlab(85.20, -32.76, 39.00)
CIE-LCHlch(85.20, 50.94, 130.03°)
OKLaboklab(86.1% -0.0898 0.0958)
OKLCHoklch(86.1% 0.131 133.2)
XYZxyz(49.9370, 66.4057, 33.8487)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE489 #BE89E4
analogous
#DDE489 #AFE489 #89E491
triadic
#AFE489 #89AFE4 #E489AF
tetradic
#AFE489 #89DDE4 #BE89E4 #E49189
square
#AFE489 #89DDE4 #BE89E4 #E49189
split-complementary
#AFE489 #9189E4 #E489DD
monochromatic
#6DC52D #8DD957 #AFE489 #D1EFBB #EEF9E6

Accessibility & contrast

On white

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

On black

14.28
#AFE489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE489
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE489#FFFFFF#000000##000000
##AFE4891.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD882
Deuteranopia (green-blind)
#E3D38E
Tritanopia (blue-blind)
#B0DDCE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe489;
/* rgb */ color: rgb(175, 228, 137);
/* oklch */ color: oklch(86.1% 0.131 133.2);
Tailwind
colors: {
  custom: {
    50: '#c8ecac',
    500: '#afe489',
    950: '#000000',
  },
}
SCSS
$custom: #afe489;
$custom-light: #c8ecac;
$custom-dark: #000000;
JSON
{
  "hex": "#afe489",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 94.945,
    "s": 62.759,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86101,
    "c": 0.13133,
    "h": 133.2
  },
  "luminance": 0.66407
}

Semantic roles & 50–950 ramp

primary
#AFE489
secondary
#9155BD
accent
#1BCB81
background
#FDFEFD
surface
#F9FDF7
border
#D2D5D0
text
#131610
muted
#828481

Preview Lab

Preview with #AFE489

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

Preview Lab → · Contrast checker → · Palette generator →

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