#AFE060#AFE060

#AFE060 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.6% C 0.165 H 127.2°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#AFE060
RGBrgb(175, 224, 96)
HSLhsl(83, 67%, 63%)
HSVhsv(83, 57%, 88%)
CMYKcmyk(21.9%, 0%, 57.1%, 12.2%)
CIE-LABlab(83.58, -35.41, 56.46)
CIE-LCHlch(83.58, 66.64, 122.10°)
OKLaboklab(84.63% -0.0999 0.1318)
OKLCHoklch(84.63% 0.165 127.2)
XYZxyz(46.4461, 63.2691, 20.8292)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE060 #9160E0
analogous
#E0D160 #AFE060 #6FE060
triadic
#AFE060 #60AFE0 #E060AF
tetradic
#AFE060 #60E0D1 #9160E0 #E0606F
square
#AFE060 #60E0D1 #9160E0 #E0606F
split-complementary
#AFE060 #606FE0 #D160E0
monochromatic
#72A520 #95D62D #AFE060 #C9EA93 #E3F4C6

Accessibility & contrast

On white

1.54
#AFE060 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#AFE060 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE060
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE060#FFFFFF#000000##000000
##AFE0601.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#E4CF69
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe060;
/* rgb */ color: rgb(175, 224, 96);
/* oklch */ color: oklch(84.6% 0.165 127.2);
Tailwind
colors: {
  custom: {
    50: '#caea91',
    500: '#afe060',
    950: '#000000',
  },
}
SCSS
$custom: #afe060;
$custom-light: #caea91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe060",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 96
  },
  "hsl": {
    "h": 82.969,
    "s": 67.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84633,
    "c": 0.16538,
    "h": 127.2
  },
  "luminance": 0.6327
}

Semantic roles & 50–950 ramp

primary
#AFE060
secondary
#653CA8
accent
#16CF5D
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE060

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

Preview Lab → · Contrast checker → · Palette generator →

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