#AFED57#AFED57

#AFED57 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.5% C 0.189 H 128.9°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#AFED57
RGBrgb(175, 237, 87)
HSLhsl(85, 81%, 64%)
HSVhsv(85, 63%, 93%)
CMYKcmyk(26.2%, 0%, 63.3%, 7.1%)
CIE-LABlab(87.18, -41.96, 64.24)
CIE-LCHlch(87.18, 76.73, 123.15°)
OKLaboklab(87.52% -0.1188 0.1473)
OKLCHoklch(87.52% 0.189 128.9)
XYZxyz(49.6835, 70.3693, 19.9800)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFED57 #9557ED
analogous
#EDE057 #AFED57 #64ED57
triadic
#AFED57 #57AFED #ED57AF
tetradic
#AFED57 #57EDE0 #9557ED #ED5764
square
#AFED57 #57EDE0 #9557ED #ED5764
split-complementary
#AFED57 #5764ED #E057ED
monochromatic
#73B614 #95E720 #AFED57 #C9F38E #E4F9C6

Accessibility & contrast

On white

1.39
#AFED57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#AFED57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFED57
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFED57#FFFFFF#000000##000000
##AFED571.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD44
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#B4E3CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afed57;
/* rgb */ color: rgb(175, 237, 87);
/* oklch */ color: oklch(87.5% 0.189 128.9);
Tailwind
colors: {
  custom: {
    50: '#cbf38d',
    500: '#afed57',
    950: '#000000',
  },
}
SCSS
$custom: #afed57;
$custom-light: #cbf38d;
$custom-dark: #000000;
JSON
{
  "hex": "#afed57",
  "rgb": {
    "r": 175,
    "g": 237,
    "b": 87
  },
  "hsl": {
    "h": 84.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87518,
    "c": 0.18924,
    "h": 128.9
  },
  "luminance": 0.7037
}

Semantic roles & 50–950 ramp

primary
#AFED57
secondary
#6933B6
accent
#09DD60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFED57

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

Preview Lab → · Contrast checker → · Palette generator →

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