#AFDF4C#AFDF4C

#AFDF4C is a very light, vivid yellow-green. Relative luminance 0.624; OKLCH L 84.2% C 0.180 H 125.6°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#AFDF4C
RGBrgb(175, 223, 76)
HSLhsl(80, 70%, 59%)
HSVhsv(80, 66%, 87%)
CMYKcmyk(21.5%, 0%, 65.9%, 12.5%)
CIE-LABlab(83.13, -36.52, 64.30)
CIE-LCHlch(83.13, 73.95, 119.59°)
OKLaboklab(84.21% -0.1047 0.1461)
OKLCHoklch(84.21% 0.18 125.6)
XYZxyz(45.3716, 62.4105, 16.4922)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF4C #7C4CDF
analogous
#DFC54C #AFDF4C #65DF4C
triadic
#AFDF4C #4CAFDF #DF4CAF
tetradic
#AFDF4C #4CDFC5 #7C4CDF #DF4C65
square
#AFDF4C #4CDFC5 #7C4CDF #DF4C65
split-complementary
#AFDF4C #4C65DF #C54CDF
monochromatic
#6E961B #94CA24 #AFDF4C #C6E880 #DDF2B4

Accessibility & contrast

On white

1.56
#AFDF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#AFDF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF4C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF4C#FFFFFF#000000##000000
##AFDF4C1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD137
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#B6D5C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf4c;
/* rgb */ color: rgb(175, 223, 76);
/* oklch */ color: oklch(84.2% 0.180 125.6);
Tailwind
colors: {
  custom: {
    50: '#cae985',
    500: '#afdf4c',
    950: '#000000',
  },
}
SCSS
$custom: #afdf4c;
$custom-light: #cae985;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf4c",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 76
  },
  "hsl": {
    "h": 79.592,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84212,
    "c": 0.17972,
    "h": 125.6
  },
  "luminance": 0.62411
}

Semantic roles & 50–950 ramp

primary
#AFDF4C
secondary
#56359A
accent
#3BEC75
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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