#AFEF54#AFEF54

#AFEF54 is a very light, vivid yellow-green. Relative luminance 0.715; OKLCH L 88.0% C 0.194 H 129.0°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#AFEF54
RGBrgb(175, 239, 84)
HSLhsl(85, 83%, 63%)
HSVhsv(85, 65%, 94%)
CMYKcmyk(26.8%, 0%, 64.9%, 6.3%)
CIE-LABlab(87.72, -43.05, 66.01)
CIE-LCHlch(87.72, 78.81, 123.11°)
OKLaboklab(87.95% -0.122 0.1507)
OKLCHoklch(87.95% 0.194 129)
XYZxyz(50.1457, 71.4858, 19.5419)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF54 #9454EF
analogous
#EFE154 #AFEF54 #61EF54
triadic
#AFEF54 #54AFEF #EF54AF
tetradic
#AFEF54 #54EFE1 #9454EF #EF5461
square
#AFEF54 #54EFE1 #9454EF #EF5461
split-complementary
#AFEF54 #5461EF #E154EF
monochromatic
#73B711 #95EA1C #AFEF54 #C9F48C #E3F9C4

Accessibility & contrast

On white

1.37
#AFEF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#AFEF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF54
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF54#FFFFFF#000000##000000
##AFEF541.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3F
Deuteranopia (green-blind)
#F1DB60
Tritanopia (blue-blind)
#B4E5CF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef54;
/* rgb */ color: rgb(175, 239, 84);
/* oklch */ color: oklch(88.0% 0.194 129.0);
Tailwind
colors: {
  custom: {
    50: '#cbf48b',
    500: '#afef54',
    950: '#000000',
  },
}
SCSS
$custom: #afef54;
$custom-light: #cbf48b;
$custom-dark: #000000;
JSON
{
  "hex": "#afef54",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 84
  },
  "hsl": {
    "h": 84.774,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87951,
    "c": 0.1939,
    "h": 129
  },
  "luminance": 0.71487
}

Semantic roles & 50–950 ramp

primary
#AFEF54
secondary
#6831B7
accent
#06DF60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEF54

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

Preview Lab → · Contrast checker → · Palette generator →

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