#AFEF62#AFEF62

#AFEF62 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.1% C 0.183 H 130.0°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#AFEF62
RGBrgb(175, 239, 98)
HSLhsl(87, 82%, 66%)
HSVhsv(87, 59%, 94%)
CMYKcmyk(26.8%, 0%, 59%, 6.3%)
CIE-LABlab(87.84, -41.94, 60.40)
CIE-LCHlch(87.84, 73.53, 124.78°)
OKLaboklab(88.08% -0.1178 0.1404)
OKLCHoklch(88.08% 0.183 130)
XYZxyz(50.7499, 71.7275, 22.7239)
Luminance0.7173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF62 #A262EF
analogous
#EFE862 #AFEF62 #68EF62
triadic
#AFEF62 #62AFEF #EF62AF
tetradic
#AFEF62 #62EFE8 #A262EF #EF6268
square
#AFEF62 #62EFE8 #A262EF #EF6268
split-complementary
#AFEF62 #6268EF #E862EF
monochromatic
#73C314 #93E92A #AFEF62 #CBF59A #E8FAD1

Accessibility & contrast

On white

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

On black

15.35
#AFEF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF62
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF62#FFFFFF#000000##000000
##AFEF621.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF52
Deuteranopia (green-blind)
#F0DB6C
Tritanopia (blue-blind)
#B3E6D1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef62;
/* rgb */ color: rgb(175, 239, 98);
/* oklch */ color: oklch(88.1% 0.183 130.0);
Tailwind
colors: {
  custom: {
    50: '#caf493',
    500: '#afef62',
    950: '#000000',
  },
}
SCSS
$custom: #afef62;
$custom-light: #caf493;
$custom-dark: #000000;
JSON
{
  "hex": "#afef62",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 98
  },
  "hsl": {
    "h": 87.234,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88083,
    "c": 0.18329,
    "h": 130
  },
  "luminance": 0.71729
}

Semantic roles & 50–950 ramp

primary
#AFEF62
secondary
#7435C1
accent
#08DE69
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEF62

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

Preview Lab → · Contrast checker → · Palette generator →

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