#AFEC57#AFEC57

#AFEC57 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.3% C 0.188 H 128.7°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#AFEC57
RGBrgb(175, 236, 87)
HSLhsl(85, 80%, 63%)
HSVhsv(85, 63%, 93%)
CMYKcmyk(25.8%, 0%, 63.1%, 7.5%)
CIE-LABlab(86.89, -41.52, 63.94)
CIE-LCHlch(86.89, 76.23, 123.00°)
OKLaboklab(87.29% -0.1176 0.1467)
OKLCHoklch(87.29% 0.188 128.7)
XYZxyz(49.3948, 69.7919, 19.8837)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC57 #9457EC
analogous
#ECDF57 #AFEC57 #64EC57
triadic
#AFEC57 #57AFEC #EC57AF
tetradic
#AFEC57 #57ECDF #9457EC #EC5764
square
#AFEC57 #57ECDF #9457EC #EC5764
split-complementary
#AFEC57 #5764EC #DF57EC
monochromatic
#73B414 #95E620 #AFEC57 #C9F28E #E3F8C5

Accessibility & contrast

On white

1.40
#AFEC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#AFEC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC57
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC57#FFFFFF#000000##000000
##AFEC571.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC44
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#B4E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec57;
/* rgb */ color: rgb(175, 236, 87);
/* oklch */ color: oklch(87.3% 0.188 128.7);
Tailwind
colors: {
  custom: {
    50: '#caf28d',
    500: '#afec57',
    950: '#000000',
  },
}
SCSS
$custom: #afec57;
$custom-light: #caf28d;
$custom-dark: #000000;
JSON
{
  "hex": "#afec57",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 84.564,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87288,
    "c": 0.18798,
    "h": 128.7
  },
  "luminance": 0.69793
}

Semantic roles & 50–950 ramp

primary
#AFEC57
secondary
#6833B4
accent
#0ADC60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEC57

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

Preview Lab → · Contrast checker → · Palette generator →

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