#AFDA71#AFDA71

#AFDA71 is a very light, vivid yellow-green. Relative luminance 0.604; OKLCH L 83.5% C 0.142 H 127.5°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#AFDA71
RGBrgb(175, 218, 113)
HSLhsl(85, 59%, 65%)
HSVhsv(85, 48%, 85%)
CMYKcmyk(19.7%, 0%, 48.2%, 14.5%)
CIE-LABlab(82.08, -30.97, 46.84)
CIE-LCHlch(82.08, 56.15, 123.47°)
OKLaboklab(83.48% -0.0862 0.1123)
OKLCHoklch(83.48% 0.142 127.5)
XYZxyz(45.7309, 60.4484, 24.8780)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA71 #9C71DA
analogous
#DAD071 #AFDA71 #7BDA71
triadic
#AFDA71 #71AFDA #DA71AF
tetradic
#AFDA71 #71DAD0 #9C71DA #DA717B
square
#AFDA71 #71DAD0 #9C71DA #DA717B
split-complementary
#AFDA71 #717BDA #D071DA
monochromatic
#73A52B #94CD40 #AFDA71 #CAE7A2 #E6F3D2

Accessibility & contrast

On white

1.60
#AFDA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#AFDA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA71
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA71#FFFFFF#000000##000000
##AFDA711.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#DDCB77
Tritanopia (blue-blind)
#B4D2C2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afda71;
/* rgb */ color: rgb(175, 218, 113);
/* oklch */ color: oklch(83.5% 0.142 127.5);
Tailwind
colors: {
  custom: {
    50: '#c9e59c',
    500: '#afda71',
    950: '#000000',
  },
}
SCSS
$custom: #afda71;
$custom-light: #c9e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#afda71",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 84.571,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8348,
    "c": 0.14153,
    "h": 127.5
  },
  "luminance": 0.60449
}

Semantic roles & 50–950 ramp

primary
#AFDA71
secondary
#6F46A9
accent
#1FC664
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFDA71

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

Preview Lab → · Contrast checker → · Palette generator →

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