#AFD588#AFD588

#AFD588 is a very light, moderate yellow-green. Relative luminance 0.585; OKLCH L 82.7% C 0.110 H 129.9°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#AFD588
RGBrgb(175, 213, 136)
HSLhsl(90, 48%, 68%)
HSVhsv(90, 36%, 84%)
CMYKcmyk(17.8%, 0%, 36.2%, 16.5%)
CIE-LABlab(81.00, -25.80, 34.06)
CIE-LCHlch(81.00, 42.73, 127.14°)
OKLaboklab(82.72% -0.0705 0.0843)
OKLCHoklch(82.72% 0.11 129.9)
XYZxyz(45.9167, 58.4794, 32.1563)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD588 #AE88D5
analogous
#D5D488 #AFD588 #88D588
triadic
#AFD588 #88AFD5 #D588AF
tetradic
#AFD588 #88D5D4 #AE88D5 #D58888
square
#AFD588 #88D5D4 #AE88D5 #D58888
split-complementary
#AFD588 #8888D5 #D488D5
monochromatic
#72A73B #91C55B #AFD588 #CDE5B5 #ECF5E2

Accessibility & contrast

On white

1.65
#AFD588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#AFD588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD588
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD588#FFFFFF#000000##000000
##AFD5881.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB83
Deuteranopia (green-blind)
#D6C88C
Tritanopia (blue-blind)
#B2CFC2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd588;
/* rgb */ color: rgb(175, 213, 136);
/* oklch */ color: oklch(82.7% 0.110 129.9);
Tailwind
colors: {
  custom: {
    50: '#c8e2ab',
    500: '#afd588',
    950: '#000000',
  },
}
SCSS
$custom: #afd588;
$custom-light: #c8e2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd588",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 136
  },
  "hsl": {
    "h": 89.61,
    "s": 47.826,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82718,
    "c": 0.10989,
    "h": 129.9
  },
  "luminance": 0.5848
}

Semantic roles & 50–950 ramp

primary
#AFD588
secondary
#8056AB
accent
#2ABB72
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD588

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

Preview Lab → · Contrast checker → · Palette generator →

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