#AFDC73#AFDC73

#AFDC73 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 84.0% C 0.142 H 128.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#AFDC73
RGBrgb(175, 220, 115)
HSLhsl(86, 60%, 66%)
HSVhsv(86, 48%, 86%)
CMYKcmyk(20.5%, 0%, 47.7%, 13.7%)
CIE-LABlab(82.67, -31.68, 46.59)
CIE-LCHlch(82.67, 56.35, 124.22°)
OKLaboklab(83.96% -0.0881 0.1118)
OKLCHoklch(83.96% 0.142 128.2)
XYZxyz(46.3665, 61.5374, 25.6514)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC73 #A073DC
analogous
#DCD473 #AFDC73 #7ADC73
triadic
#AFDC73 #73AFDC #DC73AF
tetradic
#AFDC73 #73DCD4 #A073DC #DC737A
square
#AFDC73 #73DCD4 #A073DC #DC737A
split-complementary
#AFDC73 #737ADC #D473DC
monochromatic
#73AA2B #93D042 #AFDC73 #CBE8A4 #E7F4D5

Accessibility & contrast

On white

1.58
#AFDC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#AFDC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC73
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC73#FFFFFF#000000##000000
##AFDC731.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06A
Deuteranopia (green-blind)
#DFCD79
Tritanopia (blue-blind)
#B3D4C4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc73;
/* rgb */ color: rgb(175, 220, 115);
/* oklch */ color: oklch(84.0% 0.142 128.2);
Tailwind
colors: {
  custom: {
    50: '#c9e79d',
    500: '#afdc73',
    950: '#000000',
  },
}
SCSS
$custom: #afdc73;
$custom-light: #c9e79d;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc73",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 85.714,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8396,
    "c": 0.14235,
    "h": 128.2
  },
  "luminance": 0.61538
}

Semantic roles & 50–950 ramp

primary
#AFDC73
secondary
#7247AD
accent
#1EC867
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFDC73

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

Preview Lab → · Contrast checker → · Palette generator →

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