#AFD64E#AFD64E

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

Color values

HEX#AFD64E
RGBrgb(175, 214, 78)
HSLhsl(77, 62%, 57%)
HSVhsv(77, 64%, 84%)
CMYKcmyk(18.2%, 0%, 63.6%, 16.1%)
CIE-LABlab(80.60, -32.26, 60.83)
CIE-LCHlch(80.60, 68.86, 117.93°)
OKLaboklab(82.17% -0.0928 0.139)
OKLCHoklch(82.17% 0.167 123.7)
XYZxyz(43.1012, 57.7569, 16.0837)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD64E #754ED6
analogous
#D6B94E #AFD64E #6BD64E
triadic
#AFD64E #4EAFD6 #D64EAF
tetradic
#AFD64E #4ED6B9 #754ED6 #D64E6B
square
#AFD64E #4ED6B9 #754ED6 #D64E6B
split-complementary
#AFD64E #4E6BD6 #B94ED6
monochromatic
#6B8A20 #92BB2B #AFD64E #C5E280 #DCEDB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD64E#FFFFFF#000000##000000
##AFD64E1.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)
#E2C93D
Deuteranopia (green-blind)
#DCC858
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd64e;
/* rgb */ color: rgb(175, 214, 78);
/* oklch */ color: oklch(82.2% 0.167 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae286',
    500: '#afd64e',
    950: '#000000',
  },
}
SCSS
$custom: #afd64e;
$custom-light: #cae286;
$custom-dark: #000000;
JSON
{
  "hex": "#afd64e",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 78
  },
  "hsl": {
    "h": 77.206,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82174,
    "c": 0.16711,
    "h": 123.7
  },
  "luminance": 0.57757
}

Semantic roles & 50–950 ramp

primary
#AFD64E
secondary
#513890
accent
#42E571
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD64E

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

Preview Lab → · Contrast checker → · Palette generator →

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