#AFEF88#AFEF88

#AFEF88 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 88.6% C 0.148 H 134.5°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#AFEF88
RGBrgb(175, 239, 136)
HSLhsl(97, 76%, 74%)
HSVhsv(97, 43%, 94%)
CMYKcmyk(26.8%, 0%, 43.1%, 6.3%)
CIE-LABlab(88.27, -37.92, 43.41)
CIE-LCHlch(88.27, 57.63, 131.14°)
OKLaboklab(88.57% -0.1041 0.1058)
OKLCHoklch(88.57% 0.148 134.5)
XYZxyz(52.9884, 72.6229, 34.5136)
Luminance0.7262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF88 #C888EF
analogous
#E2EF88 #AFEF88 #88EF94
triadic
#AFEF88 #88AFEF #EF88AF
tetradic
#AFEF88 #88E2EF #C888EF #EF9488
square
#AFEF88 #88E2EF #C888EF #EF9488
split-complementary
#AFEF88 #9488EF #EF88E2
monochromatic
#67DF1E #8BE852 #AFEF88 #D3F6BE #EDFBE4

Accessibility & contrast

On white

1.35
#AFEF88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#AFEF88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF88
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF88#FFFFFF#000000##000000
##AFEF881.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E180
Deuteranopia (green-blind)
#EDDC8E
Tritanopia (blue-blind)
#AFE8D6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef88;
/* rgb */ color: rgb(175, 239, 136);
/* oklch */ color: oklch(88.6% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#c9f4ac',
    500: '#afef88',
    950: '#000000',
  },
}
SCSS
$custom: #afef88;
$custom-light: #c9f4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afef88",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 136
  },
  "hsl": {
    "h": 97.282,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88571,
    "c": 0.14848,
    "h": 134.5
  },
  "luminance": 0.72625
}

Semantic roles & 50–950 ramp

primary
#AFEF88
secondary
#9C51CA
accent
#0DD88B
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF88

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

Preview Lab → · Contrast checker → · Palette generator →

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