#AFD460#AFD460

#AFD460 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.9% C 0.150 H 124.4°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#AFD460
RGBrgb(175, 212, 96)
HSLhsl(79, 57%, 60%)
HSVhsv(79, 55%, 83%)
CMYKcmyk(17.5%, 0%, 54.7%, 16.9%)
CIE-LABlab(80.20, -29.85, 52.58)
CIE-LCHlch(80.20, 60.46, 119.58°)
OKLaboklab(81.91% -0.0844 0.1234)
OKLCHoklch(81.91% 0.15 124.4)
XYZxyz(43.3341, 57.0451, 19.7919)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD460 #8560D4
analogous
#D4BF60 #AFD460 #75D460
triadic
#AFD460 #60AFD4 #D460AF
tetradic
#AFD460 #60D4BF #8560D4 #D46075
square
#AFD460 #60D4BF #8560D4 #D46075
split-complementary
#AFD460 #6075D4 #BF60D4
monochromatic
#709228 #95C235 #AFD460 #C7E190 #DFEEC0

Accessibility & contrast

On white

1.69
#AFD460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#AFD460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD460
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD460#FFFFFF#000000##000000
##AFD4601.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC854
Deuteranopia (green-blind)
#D9C767
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd460;
/* rgb */ color: rgb(175, 212, 96);
/* oklch */ color: oklch(81.9% 0.150 124.4);
Tailwind
colors: {
  custom: {
    50: '#c9e190',
    500: '#afd460',
    950: '#000000',
  },
}
SCSS
$custom: #afd460;
$custom-light: #c9e190;
$custom-dark: #000000;
JSON
{
  "hex": "#afd460",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 79.138,
    "s": 57.426,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.14956,
    "h": 124.4
  },
  "luminance": 0.57045
}

Semantic roles & 50–950 ramp

primary
#AFD460
secondary
#5C4198
accent
#20C555
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD460

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

Preview Lab → · Contrast checker → · Palette generator →

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