#AFD64A#AFD64A

#AFD64A is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.1% C 0.170 H 123.5°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#AFD64A
RGBrgb(175, 214, 74)
HSLhsl(77, 63%, 56%)
HSVhsv(77, 65%, 84%)
CMYKcmyk(18.2%, 0%, 65.4%, 16.1%)
CIE-LABlab(80.57, -32.54, 62.41)
CIE-LCHlch(80.57, 70.38, 117.53°)
OKLaboklab(82.14% -0.0939 0.1418)
OKLCHoklch(82.14% 0.17 123.5)
XYZxyz(42.9622, 57.7012, 15.3513)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD64A #714AD6
analogous
#D6B74A #AFD64A #69D64A
triadic
#AFD64A #4AAFD6 #D64AAF
tetradic
#AFD64A #4AD6B7 #714AD6 #D64A69
square
#AFD64A #4AD6B7 #714AD6 #D64A69
split-complementary
#AFD64A #4A69D6 #B74AD6
monochromatic
#6A871F #91B92A #AFD64A #C5E17C #DBEDAE

Accessibility & contrast

On white

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

On black

12.54
#AFD64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD64A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD64A#FFFFFF#000000##000000
##AFD64A1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C937
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#B7CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd64a;
/* rgb */ color: rgb(175, 214, 74);
/* oklch */ color: oklch(82.1% 0.170 123.5);
Tailwind
colors: {
  custom: {
    50: '#cae283',
    500: '#afd64a',
    950: '#000000',
  },
}
SCSS
$custom: #afd64a;
$custom-light: #cae283;
$custom-dark: #000000;
JSON
{
  "hex": "#afd64a",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 74
  },
  "hsl": {
    "h": 76.714,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82139,
    "c": 0.17007,
    "h": 123.5
  },
  "luminance": 0.57702
}

Semantic roles & 50–950 ramp

primary
#AFD64A
secondary
#4F378D
accent
#42E66F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD64A

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

Preview Lab → · Contrast checker → · Palette generator →

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