#AFD858#AFD858

#AFD858 is a very light, vivid yellow-green. Relative luminance 0.589; OKLCH L 82.7% C 0.162 H 124.8°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#AFD858
RGBrgb(175, 216, 88)
HSLhsl(79, 62%, 60%)
HSVhsv(79, 59%, 85%)
CMYKcmyk(19%, 0%, 59.3%, 15.3%)
CIE-LABlab(81.25, -32.41, 57.33)
CIE-LCHlch(81.25, 65.86, 119.48°)
OKLaboklab(82.73% -0.0923 0.1328)
OKLCHoklch(82.73% 0.162 124.8)
XYZxyz(43.9967, 58.9299, 18.2873)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD858 #8158D8
analogous
#D8C158 #AFD858 #6FD858
triadic
#AFD858 #58AFD8 #D858AF
tetradic
#AFD858 #58D8C1 #8158D8 #D8586F
square
#AFD858 #58D8C1 #8158D8 #D8586F
split-complementary
#AFD858 #586FD8 #C158D8
monochromatic
#6F9322 #95C52E #AFD858 #C7E48A #DFEFBB

Accessibility & contrast

On white

1.64
#AFD858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#AFD858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD858
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD858#FFFFFF#000000##000000
##AFD8581.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#B6CEBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd858;
/* rgb */ color: rgb(175, 216, 88);
/* oklch */ color: oklch(82.7% 0.162 124.8);
Tailwind
colors: {
  custom: {
    50: '#cae48c',
    500: '#afd858',
    950: '#000000',
  },
}
SCSS
$custom: #afd858;
$custom-light: #cae48c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd858",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 79.219,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82726,
    "c": 0.16172,
    "h": 124.8
  },
  "luminance": 0.5893
}

Semantic roles & 50–950 ramp

primary
#AFD858
secondary
#5A3C98
accent
#43E577
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD858

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

Preview Lab → · Contrast checker → · Palette generator →

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