#AFEE57#AFEE57

#AFEE57 is a very light, vivid yellow-green. Relative luminance 0.710; OKLCH L 87.7% C 0.190 H 129.0°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#AFEE57
RGBrgb(175, 238, 87)
HSLhsl(85, 82%, 64%)
HSVhsv(85, 63%, 93%)
CMYKcmyk(26.5%, 0%, 63.4%, 6.7%)
CIE-LABlab(87.46, -42.39, 64.55)
CIE-LCHlch(87.46, 77.22, 123.30°)
OKLaboklab(87.75% -0.12 0.148)
OKLCHoklch(87.75% 0.19 129)
XYZxyz(49.9738, 70.9500, 20.0768)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEE57 #9657EE
analogous
#EEE157 #AFEE57 #63EE57
triadic
#AFEE57 #57AFEE #EE57AF
tetradic
#AFEE57 #57EEE1 #9657EE #EE5763
square
#AFEE57 #57EEE1 #9657EE #EE5763
split-complementary
#AFEE57 #5763EE #E157EE
monochromatic
#73B813 #95E81F #AFEE57 #C9F48F #E4F9C6

Accessibility & contrast

On white

1.38
#AFEE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#AFEE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEE57
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEE57#FFFFFF#000000##000000
##AFEE571.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE44
Deuteranopia (green-blind)
#F0DA63
Tritanopia (blue-blind)
#B4E4CF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afee57;
/* rgb */ color: rgb(175, 238, 87);
/* oklch */ color: oklch(87.7% 0.190 129.0);
Tailwind
colors: {
  custom: {
    50: '#cbf48d',
    500: '#afee57',
    950: '#000000',
  },
}
SCSS
$custom: #afee57;
$custom-light: #cbf48d;
$custom-dark: #000000;
JSON
{
  "hex": "#afee57",
  "rgb": {
    "r": 175,
    "g": 238,
    "b": 87
  },
  "hsl": {
    "h": 85.033,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87747,
    "c": 0.19049,
    "h": 129
  },
  "luminance": 0.70951
}

Semantic roles & 50–950 ramp

primary
#AFEE57
secondary
#6A32B7
accent
#08DE61
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEE57

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

Preview Lab → · Contrast checker → · Palette generator →

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