#AFCD73#AFCD73

#AFCD73 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.6% C 0.121 H 124.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCD73
RGBrgb(175, 205, 115)
HSLhsl(80, 47%, 63%)
HSVhsv(80, 44%, 80%)
CMYKcmyk(14.6%, 0%, 43.9%, 19.6%)
CIE-LABlab(78.47, -24.54, 41.40)
CIE-LCHlch(78.47, 48.13, 120.66°)
OKLaboklab(80.58% -0.068 0.1003)
OKLCHoklch(80.58% 0.121 124.2)
XYZxyz(42.6049, 54.0142, 24.3976)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD73 #9173CD
analogous
#CDBE73 #AFCD73 #82CD73
triadic
#AFCD73 #73AFCD #CD73AF
tetradic
#AFCD73 #73CDBE #9173CD #CD7382
square
#AFCD73 #73CDBE #9173CD #CD7382
split-complementary
#AFCD73 #7382CD #BE73CD
monochromatic
#729234 #95BD46 #AFCD73 #C9DDA0 #E3EDCD

Accessibility & contrast

On white

1.78
#AFCD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#AFCD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD73
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD73#FFFFFF#000000##000000
##AFCD731.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36C
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#B5C5B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd73;
/* rgb */ color: rgb(175, 205, 115);
/* oklch */ color: oklch(80.6% 0.121 124.2);
Tailwind
colors: {
  custom: {
    50: '#c8dc9d',
    500: '#afcd73',
    950: '#000000',
  },
}
SCSS
$custom: #afcd73;
$custom-light: #c8dc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd73",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 115
  },
  "hsl": {
    "h": 80,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80584,
    "c": 0.12116,
    "h": 124.2
  },
  "luminance": 0.54014
}

Semantic roles & 50–950 ramp

primary
#AFCD73
secondary
#654C98
accent
#2BBB5B
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCD73

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

Preview Lab → · Contrast checker → · Palette generator →

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