#AFD489#AFD489

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

Color values

HEX#AFD489
RGBrgb(175, 212, 137)
HSLhsl(90, 47%, 68%)
HSVhsv(90, 35%, 83%)
CMYKcmyk(17.5%, 0%, 35.4%, 16.9%)
CIE-LABlab(80.74, -25.18, 33.21)
CIE-LCHlch(80.74, 41.67, 127.17°)
OKLaboklab(82.51% -0.0687 0.0824)
OKLCHoklch(82.51% 0.107 129.8)
XYZxyz(45.7373, 58.0064, 32.4488)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD489 #AE89D4
analogous
#D4D389 #AFD489 #89D489
triadic
#AFD489 #89AFD4 #D489AF
tetradic
#AFD489 #89D4D3 #AE89D4 #D48989
square
#AFD489 #89D4D3 #AE89D4 #D48989
split-complementary
#AFD489 #8989D4 #D389D4
monochromatic
#72A63D #91C45C #AFD489 #CDE4B6 #ECF5E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD489#FFFFFF#000000##000000
##AFD4891.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)
#DBCA84
Deuteranopia (green-blind)
#D5C88D
Tritanopia (blue-blind)
#B2CEC1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd489;
/* rgb */ color: rgb(175, 212, 137);
/* oklch */ color: oklch(82.5% 0.107 129.8);
Tailwind
colors: {
  custom: {
    50: '#c8e1ac',
    500: '#afd489',
    950: '#000000',
  },
}
SCSS
$custom: #afd489;
$custom-light: #c8e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afd489",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 89.6,
    "s": 46.584,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82513,
    "c": 0.10726,
    "h": 129.8
  },
  "luminance": 0.58007
}

Semantic roles & 50–950 ramp

primary
#AFD489
secondary
#8057AA
accent
#2CBA72
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD489

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

Preview Lab → · Contrast checker → · Palette generator →

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