#AFD488#AFD488

#AFD488 is a very light, moderate yellow-green. Relative luminance 0.580; OKLCH L 82.5% C 0.108 H 129.6°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#AFD488
RGBrgb(175, 212, 136)
HSLhsl(89, 47%, 68%)
HSVhsv(89, 36%, 83%)
CMYKcmyk(17.5%, 0%, 35.8%, 16.9%)
CIE-LABlab(80.73, -25.31, 33.70)
CIE-LCHlch(80.73, 42.15, 126.91°)
OKLaboklab(82.49% -0.0691 0.0835)
OKLCHoklch(82.49% 0.108 129.6)
XYZxyz(45.6659, 57.9779, 32.0727)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD488 #AD88D4
analogous
#D4D388 #AFD488 #89D488
triadic
#AFD488 #88AFD4 #D488AF
tetradic
#AFD488 #88D4D3 #AD88D4 #D48889
square
#AFD488 #88D4D3 #AD88D4 #D48889
split-complementary
#AFD488 #8889D4 #D388D4
monochromatic
#72A63C #91C45B #AFD488 #CDE4B5 #EBF4E2

Accessibility & contrast

On white

1.67
#AFD488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#AFD488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD488
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD488#FFFFFF#000000##000000
##AFD4881.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA83
Deuteranopia (green-blind)
#D5C88C
Tritanopia (blue-blind)
#B2CEC1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd488;
/* rgb */ color: rgb(175, 212, 136);
/* oklch */ color: oklch(82.5% 0.108 129.6);
Tailwind
colors: {
  custom: {
    50: '#c8e1ab',
    500: '#afd488',
    950: '#000000',
  },
}
SCSS
$custom: #afd488;
$custom-light: #c8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd488",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 89.211,
    "s": 46.914,
    "l": 68.235
  },
  "oklch": {
    "l": 0.82495,
    "c": 0.10837,
    "h": 129.6
  },
  "luminance": 0.57979
}

Semantic roles & 50–950 ramp

primary
#AFD488
secondary
#7F56AA
accent
#2BBA71
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD488

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

Preview Lab → · Contrast checker → · Palette generator →

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