#AFE960#AFE960

#AFE960 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.7% C 0.177 H 128.9°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#AFE960
RGBrgb(175, 233, 96)
HSLhsl(85, 76%, 65%)
HSVhsv(85, 59%, 91%)
CMYKcmyk(24.9%, 0%, 58.8%, 8.6%)
CIE-LABlab(86.12, -39.46, 59.33)
CIE-LCHlch(86.12, 71.26, 123.63°)
OKLaboklab(86.69% -0.1111 0.1379)
OKLCHoklch(86.69% 0.177 128.9)
XYZxyz(48.9292, 68.2353, 21.6569)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE960 #9A60E9
analogous
#E9DE60 #AFE960 #6BE960
triadic
#AFE960 #60AFE9 #E960AF
tetradic
#AFE960 #60E9DE #9A60E9 #E9606B
square
#AFE960 #60E9DE #9A60E9 #E9606B
split-complementary
#AFE960 #606BE9 #DE60E9
monochromatic
#73B519 #94E22A #AFE960 #CAF096 #E5F8CC

Accessibility & contrast

On white

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

On black

14.65
#AFE960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE960
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE960#FFFFFF#000000##000000
##AFE9601.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA51
Deuteranopia (green-blind)
#EBD66A
Tritanopia (blue-blind)
#B4E0CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe960;
/* rgb */ color: rgb(175, 233, 96);
/* oklch */ color: oklch(86.7% 0.177 128.9);
Tailwind
colors: {
  custom: {
    50: '#caf092',
    500: '#afe960',
    950: '#000000',
  },
}
SCSS
$custom: #afe960;
$custom-light: #caf092;
$custom-dark: #000000;
JSON
{
  "hex": "#afe960",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 85.401,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86688,
    "c": 0.17713,
    "h": 128.9
  },
  "luminance": 0.68236
}

Semantic roles & 50–950 ramp

primary
#AFE960
secondary
#6D38B5
accent
#0ED863
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE960

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

Preview Lab → · Contrast checker → · Palette generator →

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