#AFDF71#AFDF71

#AFDF71 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.6% C 0.148 H 128.6°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#AFDF71
RGBrgb(175, 223, 113)
HSLhsl(86, 63%, 66%)
HSVhsv(86, 49%, 87%)
CMYKcmyk(21.5%, 0%, 49.3%, 12.5%)
CIE-LABlab(83.48, -33.29, 48.54)
CIE-LCHlch(83.48, 58.86, 124.45°)
OKLaboklab(84.61% -0.0927 0.116)
OKLCHoklch(84.61% 0.149 128.6)
XYZxyz(47.0471, 63.0808, 25.3167)
Luminance0.6308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF71 #A171DF
analogous
#DFD871 #AFDF71 #78DF71
triadic
#AFDF71 #71AFDF #DF71AF
tetradic
#AFDF71 #71DFD8 #A171DF #DF7178
square
#AFDF71 #71DFD8 #A171DF #DF7178
split-complementary
#AFDF71 #7178DF #D871DF
monochromatic
#73AE27 #93D43F #AFDF71 #CBEAA3 #E7F6D5

Accessibility & contrast

On white

1.54
#AFDF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#AFDF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF71
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF71#FFFFFF#000000##000000
##AFDF711.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#E1CF78
Tritanopia (blue-blind)
#B3D7C6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf71;
/* rgb */ color: rgb(175, 223, 113);
/* oklch */ color: oklch(84.6% 0.148 128.6);
Tailwind
colors: {
  custom: {
    50: '#c9e99c',
    500: '#afdf71',
    950: '#000000',
  },
}
SCSS
$custom: #afdf71;
$custom-light: #c9e99c;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf71",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 86.182,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84612,
    "c": 0.1485,
    "h": 128.6
  },
  "luminance": 0.63082
}

Semantic roles & 50–950 ramp

primary
#AFDF71
secondary
#7344B0
accent
#1BCB68
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDF71

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

Preview Lab → · Contrast checker → · Palette generator →

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