#AFED71#AFED71

#AFED71 is a very light, vivid yellow-green. Relative luminance 0.709; OKLCH L 87.8% C 0.168 H 131.1°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#AFED71
RGBrgb(175, 237, 113)
HSLhsl(90, 78%, 69%)
HSVhsv(90, 52%, 93%)
CMYKcmyk(26.2%, 0%, 52.3%, 7.1%)
CIE-LABlab(87.42, -39.64, 53.26)
CIE-LCHlch(87.42, 66.40, 126.66°)
OKLaboklab(87.8% -0.1103 0.1264)
OKLCHoklch(87.8% 0.168 131.1)
XYZxyz(50.9434, 70.8733, 26.6155)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFED71 #AF71ED
analogous
#EDED71 #AFED71 #71ED71
triadic
#AFED71 #71AFED #ED71AF
tetradic
#AFED71 #71EDED #AF71ED #ED7171
square
#AFED71 #71EDED #AF71ED #ED7171
split-complementary
#AFED71 #7171ED #ED71ED
monochromatic
#72CA1A #90E63B #AFED71 #CEF4A7 #ECFBDE

Accessibility & contrast

On white

1.38
#AFED71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#AFED71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFED71
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFED71#FFFFFF#000000##000000
##AFED711.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#EDD979
Tritanopia (blue-blind)
#B2E4D1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afed71;
/* rgb */ color: rgb(175, 237, 113);
/* oklch */ color: oklch(87.8% 0.168 131.1);
Tailwind
colors: {
  custom: {
    50: '#caf39d',
    500: '#afed71',
    950: '#000000',
  },
}
SCSS
$custom: #afed71;
$custom-light: #caf39d;
$custom-dark: #000000;
JSON
{
  "hex": "#afed71",
  "rgb": {
    "r": 175,
    "g": 237,
    "b": 113
  },
  "hsl": {
    "h": 90,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87796,
    "c": 0.16775,
    "h": 131.1
  },
  "luminance": 0.70875
}

Semantic roles & 50–950 ramp

primary
#AFED71
secondary
#813DC5
accent
#0CDA73
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFED71

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

Preview Lab → · Contrast checker → · Palette generator →

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