#AFD64D#AFD64D

#AFD64D is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.2% C 0.168 H 123.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#AFD64D
RGBrgb(175, 214, 77)
HSLhsl(77, 63%, 57%)
HSVhsv(77, 64%, 84%)
CMYKcmyk(18.2%, 0%, 64%, 16.1%)
CIE-LABlab(80.60, -32.33, 61.23)
CIE-LCHlch(80.60, 69.24, 117.83°)
OKLaboklab(82.17% -0.0931 0.1397)
OKLCHoklch(82.17% 0.168 123.7)
XYZxyz(43.0657, 57.7426, 15.8964)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD64D #744DD6
analogous
#D6B84D #AFD64D #6BD64D
triadic
#AFD64D #4DAFD6 #D64DAF
tetradic
#AFD64D #4DD6B8 #744DD6 #D64D6B
square
#AFD64D #4DD6B8 #744DD6 #D64D6B
split-complementary
#AFD64D #4D6BD6 #B84DD6
monochromatic
#6B8920 #92BB2B #AFD64D #C5E17F #DCEDB0

Accessibility & contrast

On white

1.67
#AFD64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#AFD64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD64D
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD64D#FFFFFF#000000##000000
##AFD64D1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93B
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd64d;
/* rgb */ color: rgb(175, 214, 77);
/* oklch */ color: oklch(82.2% 0.168 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae285',
    500: '#afd64d',
    950: '#000000',
  },
}
SCSS
$custom: #afd64d;
$custom-light: #cae285;
$custom-dark: #000000;
JSON
{
  "hex": "#afd64d",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 77
  },
  "hsl": {
    "h": 77.08,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82165,
    "c": 0.16787,
    "h": 123.7
  },
  "luminance": 0.57743
}

Semantic roles & 50–950 ramp

primary
#AFD64D
secondary
#51388F
accent
#42E671
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD64D

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

Preview Lab → · Contrast checker → · Palette generator →

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