#AFE964#AFE964

#AFE964 is a very light, vivid yellow-green. Relative luminance 0.683; OKLCH L 86.7% C 0.174 H 129.2°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#AFE964
RGBrgb(175, 233, 100)
HSLhsl(86, 75%, 65%)
HSVhsv(86, 57%, 91%)
CMYKcmyk(24.9%, 0%, 57.1%, 8.6%)
CIE-LABlab(86.16, -39.11, 57.63)
CIE-LCHlch(86.16, 69.65, 124.16°)
OKLaboklab(86.73% -0.1098 0.1347)
OKLCHoklch(86.73% 0.174 129.2)
XYZxyz(49.1180, 68.3108, 22.6516)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE964 #9E64E9
analogous
#E9E064 #AFE964 #6DE964
triadic
#AFE964 #64AFE9 #E964AF
tetradic
#AFE964 #64E9E0 #9E64E9 #E9646D
square
#AFE964 #64E9E0 #9E64E9 #E9646D
split-complementary
#AFE964 #646DE9 #E064E9
monochromatic
#73B81A #93E12E #AFE964 #CBF19A #E6F8CF

Accessibility & contrast

On white

1.43
#AFE964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#AFE964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE964
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE964#FFFFFF#000000##000000
##AFE9641.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA56
Deuteranopia (green-blind)
#EBD66D
Tritanopia (blue-blind)
#B3E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe964;
/* rgb */ color: rgb(175, 233, 100);
/* oklch */ color: oklch(86.7% 0.174 129.2);
Tailwind
colors: {
  custom: {
    50: '#caf094',
    500: '#afe964',
    950: '#000000',
  },
}
SCSS
$custom: #afe964;
$custom-light: #caf094;
$custom-dark: #000000;
JSON
{
  "hex": "#afe964",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 100
  },
  "hsl": {
    "h": 86.165,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86731,
    "c": 0.17381,
    "h": 129.2
  },
  "luminance": 0.68312
}

Semantic roles & 50–950 ramp

primary
#AFE964
secondary
#7039B8
accent
#0ED766
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE964

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

Preview Lab → · Contrast checker → · Palette generator →

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