#AFD558#AFD558

#AFD558 is a very light, vivid yellow-green. Relative luminance 0.574; OKLCH L 82.0% C 0.158 H 124.1°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD558
RGBrgb(175, 213, 88)
HSLhsl(78, 60%, 59%)
HSVhsv(78, 59%, 84%)
CMYKcmyk(17.8%, 0%, 58.7%, 16.5%)
CIE-LABlab(80.41, -31.02, 56.39)
CIE-LCHlch(80.41, 64.35, 118.81°)
OKLaboklab(82.04% -0.0884 0.1308)
OKLCHoklch(82.04% 0.158 124.1)
XYZxyz(43.2351, 57.4067, 18.0335)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD558 #7E58D5
analogous
#D5BD58 #AFD558 #71D558
triadic
#AFD558 #58AFD5 #D558AF
tetradic
#AFD558 #58D5BD #7E58D5 #D55871
square
#AFD558 #58D5BD #7E58D5 #D55871
split-complementary
#AFD558 #5871D5 #BD58D5
monochromatic
#6E8F24 #94C030 #AFD558 #C6E189 #DEEEBA

Accessibility & contrast

On white

1.68
#AFD558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD558
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD558#FFFFFF#000000##000000
##AFD5581.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd558;
/* rgb */ color: rgb(175, 213, 88);
/* oklch */ color: oklch(82.0% 0.158 124.1);
Tailwind
colors: {
  custom: {
    50: '#c9e28c',
    500: '#afd558',
    950: '#000000',
  },
}
SCSS
$custom: #afd558;
$custom-light: #c9e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd558",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 78.24,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82044,
    "c": 0.15787,
    "h": 124.1
  },
  "luminance": 0.57407
}

Semantic roles & 50–950 ramp

primary
#AFD558
secondary
#573D94
accent
#45E375
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD558

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

Preview Lab → · Contrast checker → · Palette generator →

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