#AFEA71#AFEA71

#AFEA71 is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.1% C 0.164 H 130.6°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#AFEA71
RGBrgb(175, 234, 113)
HSLhsl(89, 74%, 68%)
HSVhsv(89, 52%, 92%)
CMYKcmyk(25.2%, 0%, 51.7%, 8.2%)
CIE-LABlab(86.58, -38.30, 52.26)
CIE-LCHlch(86.58, 64.79, 126.24°)
OKLaboklab(87.11% -0.1066 0.1242)
OKLCHoklch(87.11% 0.164 130.6)
XYZxyz(50.0821, 69.1506, 26.3284)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA71 #AC71EA
analogous
#EAE871 #AFEA71 #72EA71
triadic
#AFEA71 #71AFEA #EA71AF
tetradic
#AFEA71 #71EAE8 #AC71EA #EA7172
square
#AFEA71 #71EAE8 #AC71EA #EA7172
split-complementary
#AFEA71 #7172EA #E871EA
monochromatic
#72C41D #91E23C #AFEA71 #CDF2A6 #EBFADC

Accessibility & contrast

On white

1.42
#AFEA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#AFEA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA71
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA71#FFFFFF#000000##000000
##AFEA711.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#EBD779
Tritanopia (blue-blind)
#B2E1CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afea71;
/* rgb */ color: rgb(175, 234, 113);
/* oklch */ color: oklch(87.1% 0.164 130.6);
Tailwind
colors: {
  custom: {
    50: '#c9f19d',
    500: '#afea71',
    950: '#000000',
  },
}
SCSS
$custom: #afea71;
$custom-light: #c9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#afea71",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 113
  },
  "hsl": {
    "h": 89.256,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87112,
    "c": 0.16367,
    "h": 130.6
  },
  "luminance": 0.69152
}

Semantic roles & 50–950 ramp

primary
#AFEA71
secondary
#7E3DC2
accent
#0FD670
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFEA71

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

Preview Lab → · Contrast checker → · Palette generator →

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