#AFDF73#AFDF73

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

Color values

HEX#AFDF73
RGBrgb(175, 223, 115)
HSLhsl(87, 63%, 66%)
HSVhsv(87, 48%, 87%)
CMYKcmyk(21.5%, 0%, 48.4%, 12.5%)
CIE-LABlab(83.51, -33.08, 47.62)
CIE-LCHlch(83.51, 57.98, 124.78°)
OKLaboklab(84.64% -0.0919 0.1141)
OKLCHoklch(84.64% 0.147 128.9)
XYZxyz(47.1610, 63.1263, 25.9162)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF73 #A373DF
analogous
#DFD973 #AFDF73 #79DF73
triadic
#AFDF73 #73AFDF #DF73AF
tetradic
#AFDF73 #73DFD9 #A373DF #DF7379
square
#AFDF73 #73DFD9 #A373DF #DF7379
split-complementary
#AFDF73 #7379DF #D973DF
monochromatic
#73AF28 #93D441 #AFDF73 #CBEAA5 #E8F6D7

Accessibility & contrast

On white

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

On black

13.63
#AFDF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF73
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF73#FFFFFF#000000##000000
##AFDF731.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdf73;
/* rgb */ color: rgb(175, 223, 115);
/* oklch */ color: oklch(84.6% 0.147 128.9);
Tailwind
colors: {
  custom: {
    50: '#c9e99d',
    500: '#afdf73',
    950: '#000000',
  },
}
SCSS
$custom: #afdf73;
$custom-light: #c9e99d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf73",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 86.667,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84639,
    "c": 0.14655,
    "h": 128.9
  },
  "luminance": 0.63127
}

Semantic roles & 50–950 ramp

primary
#AFDF73
secondary
#7545B1
accent
#1BCB69
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDF73

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

Preview Lab → · Contrast checker → · Palette generator →

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