#AFD960#AFD960

#AFD960 is a very light, vivid yellow-green. Relative luminance 0.596; OKLCH L 83.0% C 0.156 H 125.6°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#AFD960
RGBrgb(175, 217, 96)
HSLhsl(81, 61%, 61%)
HSVhsv(81, 56%, 85%)
CMYKcmyk(19.4%, 0%, 55.8%, 14.9%)
CIE-LABlab(81.61, -32.19, 54.20)
CIE-LCHlch(81.61, 63.04, 120.71°)
OKLaboklab(83.04% -0.091 0.1269)
OKLCHoklch(83.04% 0.156 125.6)
XYZxyz(44.6034, 59.5837, 20.2150)
Luminance0.5958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD960 #8A60D9
analogous
#D9C660 #AFD960 #73D960
triadic
#AFD960 #60AFD9 #D960AF
tetradic
#AFD960 #60D9C6 #8A60D9 #D96073
square
#AFD960 #60D9C6 #8A60D9 #D96073
split-complementary
#AFD960 #6073D9 #C660D9
monochromatic
#719A25 #96CB31 #AFD960 #C8E591 #E1F1C3

Accessibility & contrast

On white

1.63
#AFD960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#AFD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD960
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD960#FFFFFF#000000##000000
##AFD9601.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC54
Deuteranopia (green-blind)
#DECA68
Tritanopia (blue-blind)
#B5D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd960;
/* rgb */ color: rgb(175, 217, 96);
/* oklch */ color: oklch(83.0% 0.156 125.6);
Tailwind
colors: {
  custom: {
    50: '#c9e591',
    500: '#afd960',
    950: '#000000',
  },
}
SCSS
$custom: #afd960;
$custom-light: #c9e591;
$custom-dark: #000000;
JSON
{
  "hex": "#afd960",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 80.826,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8304,
    "c": 0.15616,
    "h": 125.6
  },
  "luminance": 0.59584
}

Semantic roles & 50–950 ramp

primary
#AFD960
secondary
#603F9E
accent
#1CC958
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD960

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

Preview Lab → · Contrast checker → · Palette generator →

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