#AFC960#AFC960

#AFC960 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.4% C 0.135 H 121.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#AFC960
RGBrgb(175, 201, 96)
HSLhsl(75, 49%, 58%)
HSVhsv(75, 52%, 79%)
CMYKcmyk(12.9%, 0%, 52.2%, 21.2%)
CIE-LABlab(77.12, -24.58, 48.97)
CIE-LCHlch(77.12, 54.80, 116.65°)
OKLaboklab(79.43% -0.0697 0.1156)
OKLCHoklch(79.43% 0.135 121.1)
XYZxyz(40.6775, 51.7318, 18.9063)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC960 #7A60C9
analogous
#C9AE60 #AFC960 #7AC960
triadic
#AFC960 #60AFC9 #C960AF
tetradic
#AFC960 #60C9AE #7A60C9 #C9607A
square
#AFC960 #60C9AE #7A60C9 #C9607A
split-complementary
#AFC960 #607AC9 #AE60C9
monochromatic
#6D822C #93B03C #AFC960 #C6D98E #DDE8BB

Accessibility & contrast

On white

1.85
#AFC960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#AFC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC960
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC960#FFFFFF#000000##000000
##AFC9601.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D0BF66
Tritanopia (blue-blind)
#B7C0B1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc960;
/* rgb */ color: rgb(175, 201, 96);
/* oklch */ color: oklch(79.4% 0.135 121.1);
Tailwind
colors: {
  custom: {
    50: '#c9d990',
    500: '#afc960',
    950: '#000000',
  },
}
SCSS
$custom: #afc960;
$custom-light: #c9d990;
$custom-dark: #000000;
JSON
{
  "hex": "#afc960",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 74.857,
    "s": 49.296,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79425,
    "c": 0.13501,
    "h": 121.1
  },
  "luminance": 0.51732
}

Semantic roles & 50–950 ramp

primary
#AFC960
secondary
#55438A
accent
#4FD971
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC960

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

Preview Lab → · Contrast checker → · Palette generator →

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