#AFD64C#AFD64C

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

Color values

HEX#AFD64C
RGBrgb(175, 214, 76)
HSLhsl(77, 63%, 57%)
HSVhsv(77, 64%, 84%)
CMYKcmyk(18.2%, 0%, 64.5%, 16.1%)
CIE-LABlab(80.59, -32.40, 61.63)
CIE-LCHlch(80.59, 69.63, 117.73°)
OKLaboklab(82.16% -0.0933 0.1404)
OKLCHoklch(82.16% 0.169 123.6)
XYZxyz(43.0306, 57.7286, 15.7118)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD64C #734CD6
analogous
#D6B84C #AFD64C #6AD64C
triadic
#AFD64C #4CAFD6 #D64CAF
tetradic
#AFD64C #4CD6B8 #734CD6 #D64C6A
square
#AFD64C #4CD6B8 #734CD6 #D64C6A
split-complementary
#AFD64C #4C6AD6 #B84CD6
monochromatic
#6B881F #92BA2B #AFD64C #C5E17E #DCEDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD64C#FFFFFF#000000##000000
##AFD64C1.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)
#E2C93A
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd64c;
/* rgb */ color: rgb(175, 214, 76);
/* oklch */ color: oklch(82.2% 0.169 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae284',
    500: '#afd64c',
    950: '#000000',
  },
}
SCSS
$custom: #afd64c;
$custom-light: #cae284;
$custom-dark: #000000;
JSON
{
  "hex": "#afd64c",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 76
  },
  "hsl": {
    "h": 76.957,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82157,
    "c": 0.16862,
    "h": 123.6
  },
  "luminance": 0.57729
}

Semantic roles & 50–950 ramp

primary
#AFD64C
secondary
#50388F
accent
#42E670
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD64C

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

Preview Lab → · Contrast checker → · Palette generator →

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