#AFDF64#AFDF64

#AFDF64 is a very light, vivid yellow-green. Relative luminance 0.628; OKLCH L 84.5% C 0.161 H 127.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#AFDF64
RGBrgb(175, 223, 100)
HSLhsl(83, 66%, 63%)
HSVhsv(83, 55%, 87%)
CMYKcmyk(21.5%, 0%, 55.2%, 12.5%)
CIE-LABlab(83.34, -34.59, 54.39)
CIE-LCHlch(83.34, 64.46, 122.45°)
OKLaboklab(84.45% -0.0973 0.1277)
OKLCHoklch(84.45% 0.161 127.3)
XYZxyz(46.3670, 62.8087, 21.7346)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF64 #9464DF
analogous
#DFD264 #AFDF64 #71DF64
triadic
#AFDF64 #64AFDF #DF64AF
tetradic
#AFDF64 #64DFD2 #9464DF #DF6471
square
#AFDF64 #64DFD2 #9464DF #DF6471
split-complementary
#AFDF64 #6471DF #D264DF
monochromatic
#73A622 #95D531 #AFDF64 #C9E997 #E3F4C9

Accessibility & contrast

On white

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

On black

13.56
#AFDF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF64
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF64#FFFFFF#000000##000000
##AFDF641.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#E2CF6C
Tritanopia (blue-blind)
#B4D6C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf64;
/* rgb */ color: rgb(175, 223, 100);
/* oklch */ color: oklch(84.5% 0.161 127.3);
Tailwind
colors: {
  custom: {
    50: '#c9e994',
    500: '#afdf64',
    950: '#000000',
  },
}
SCSS
$custom: #afdf64;
$custom-light: #c9e994;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf64",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 100
  },
  "hsl": {
    "h": 83.415,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8445,
    "c": 0.16058,
    "h": 127.3
  },
  "luminance": 0.62809
}

Semantic roles & 50–950 ramp

primary
#AFDF64
secondary
#683EA9
accent
#18CE5F
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFDF64

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

Preview Lab → · Contrast checker → · Palette generator →

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