#AFD557#AFD557

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

Color values

HEX#AFD557
RGBrgb(175, 213, 87)
HSLhsl(78, 60%, 59%)
HSVhsv(78, 59%, 84%)
CMYKcmyk(17.8%, 0%, 59.2%, 16.5%)
CIE-LABlab(80.40, -31.10, 56.81)
CIE-LCHlch(80.40, 64.77, 118.70°)
OKLaboklab(82.03% -0.0887 0.1316)
OKLCHoklch(82.03% 0.159 124)
XYZxyz(43.1940, 57.3903, 17.8168)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD557 #7D57D5
analogous
#D5BC57 #AFD557 #70D557
triadic
#AFD557 #57AFD5 #D557AF
tetradic
#AFD557 #57D5BC #7D57D5 #D55770
square
#AFD557 #57D5BC #7D57D5 #D55770
split-complementary
#AFD557 #5770D5 #BC57D5
monochromatic
#6E8E24 #94BF30 #AFD557 #C6E188 #DEEDB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD557#FFFFFF#000000##000000
##AFD5571.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)
#E0C949
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd557;
/* rgb */ color: rgb(175, 213, 87);
/* oklch */ color: oklch(82.0% 0.159 124.0);
Tailwind
colors: {
  custom: {
    50: '#c9e28b',
    500: '#afd557',
    950: '#000000',
  },
}
SCSS
$custom: #afd557;
$custom-light: #c9e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd557",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 78.095,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82034,
    "c": 0.15871,
    "h": 124
  },
  "luminance": 0.57391
}

Semantic roles & 50–950 ramp

primary
#AFD557
secondary
#573C94
accent
#45E374
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD557

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

Preview Lab → · Contrast checker → · Palette generator →

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