#AFD989#AFD989

#AFD989 is a very light, moderate yellow-green. Relative luminance 0.605; OKLCH L 83.6% C 0.115 H 131.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#AFD989
RGBrgb(175, 217, 137)
HSLhsl(92, 51%, 69%)
HSVhsv(92, 37%, 85%)
CMYKcmyk(19.4%, 0%, 36.9%, 14.9%)
CIE-LABlab(82.13, -27.58, 35.03)
CIE-LCHlch(82.13, 44.58, 128.22°)
OKLaboklab(83.63% -0.0754 0.0866)
OKLCHoklch(83.63% 0.115 131)
XYZxyz(47.0066, 60.5450, 32.8719)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD989 #B389D9
analogous
#D7D989 #AFD989 #89D98B
triadic
#AFD989 #89AFD9 #D989AF
tetradic
#AFD989 #89D7D9 #B389D9 #D98B89
square
#AFD989 #89D7D9 #B389D9 #D98B89
split-complementary
#AFD989 #8B89D9 #D989D7
monochromatic
#71AF38 #90CA5B #AFD989 #CEE8B7 #EEF7E6

Accessibility & contrast

On white

1.60
#AFD989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#AFD989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD989
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD989#FFFFFF#000000##000000
##AFD9891.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE83
Deuteranopia (green-blind)
#DACB8D
Tritanopia (blue-blind)
#B1D3C5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd989;
/* rgb */ color: rgb(175, 217, 137);
/* oklch */ color: oklch(83.6% 0.115 131.0);
Tailwind
colors: {
  custom: {
    50: '#c8e5ac',
    500: '#afd989',
    950: '#000000',
  },
}
SCSS
$custom: #afd989;
$custom-light: #c8e5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afd989",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 91.5,
    "s": 51.282,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8363,
    "c": 0.11484,
    "h": 131
  },
  "luminance": 0.60546
}

Semantic roles & 50–950 ramp

primary
#AFD989
secondary
#8557B0
accent
#27BF77
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD989

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

Preview Lab → · Contrast checker → · Palette generator →

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