#AFED56#AFED56

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

Color values

HEX#AFED56
RGBrgb(175, 237, 86)
HSLhsl(85, 81%, 63%)
HSVhsv(85, 64%, 93%)
CMYKcmyk(26.2%, 0%, 63.7%, 7.1%)
CIE-LABlab(87.17, -42.03, 64.63)
CIE-LCHlch(87.17, 77.10, 123.04°)
OKLaboklab(87.51% -0.1191 0.148)
OKLCHoklch(87.51% 0.19 128.8)
XYZxyz(49.6429, 70.3531, 19.7663)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFED56 #9456ED
analogous
#EDE056 #AFED56 #63ED56
triadic
#AFED56 #56AFED #ED56AF
tetradic
#AFED56 #56EDE0 #9456ED #ED5663
square
#AFED56 #56EDE0 #9456ED #ED5663
split-complementary
#AFED56 #5663ED #E056ED
monochromatic
#73B513 #95E71F #AFED56 #C9F38D #E3F9C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFED56#FFFFFF#000000##000000
##AFED561.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)
#F8DD43
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#B4E3CE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afed56;
/* rgb */ color: rgb(175, 237, 86);
/* oklch */ color: oklch(87.5% 0.190 128.8);
Tailwind
colors: {
  custom: {
    50: '#cbf38c',
    500: '#afed56',
    950: '#000000',
  },
}
SCSS
$custom: #afed56;
$custom-light: #cbf38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afed56",
  "rgb": {
    "r": 175,
    "g": 237,
    "b": 86
  },
  "hsl": {
    "h": 84.636,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87509,
    "c": 0.18997,
    "h": 128.8
  },
  "luminance": 0.70354
}

Semantic roles & 50–950 ramp

primary
#AFED56
secondary
#6832B5
accent
#08DD60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFED56

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

Preview Lab → · Contrast checker → · Palette generator →

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