#AFDF60#AFDF60

#AFDF60 is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.4% C 0.164 H 127.0°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#AFDF60
RGBrgb(175, 223, 96)
HSLhsl(83, 66%, 63%)
HSVhsv(83, 57%, 87%)
CMYKcmyk(21.5%, 0%, 57%, 12.5%)
CIE-LABlab(83.30, -34.96, 56.14)
CIE-LCHlch(83.30, 66.13, 121.91°)
OKLaboklab(84.41% -0.0987 0.1311)
OKLCHoklch(84.41% 0.164 127)
XYZxyz(46.1781, 62.7331, 20.7399)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF60 #9060DF
analogous
#DFCF60 #AFDF60 #70DF60
triadic
#AFDF60 #60AFDF #DF60AF
tetradic
#AFDF60 #60DFCF #9060DF #DF6070
square
#AFDF60 #60DFCF #9060DF #DF6070
split-complementary
#AFDF60 #6070DF #CF60DF
monochromatic
#72A421 #95D52D #AFDF60 #C9E993 #E2F4C6

Accessibility & contrast

On white

1.55
#AFDF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#AFDF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF60
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF60#FFFFFF#000000##000000
##AFDF601.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D153
Deuteranopia (green-blind)
#E3CF69
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf60;
/* rgb */ color: rgb(175, 223, 96);
/* oklch */ color: oklch(84.4% 0.164 127.0);
Tailwind
colors: {
  custom: {
    50: '#cae991',
    500: '#afdf60',
    950: '#000000',
  },
}
SCSS
$custom: #afdf60;
$custom-light: #cae991;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf60",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 96
  },
  "hsl": {
    "h": 82.677,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84405,
    "c": 0.16407,
    "h": 127
  },
  "luminance": 0.62734
}

Semantic roles & 50–950 ramp

primary
#AFDF60
secondary
#653DA6
accent
#17CE5C
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDF60

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

Preview Lab → · Contrast checker → · Palette generator →

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