#AFD689#AFD689

#AFD689 is a very light, moderate yellow-green. Relative luminance 0.590; OKLCH L 83.0% C 0.110 H 130.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#AFD689
RGBrgb(175, 214, 137)
HSLhsl(90, 48%, 69%)
HSVhsv(90, 36%, 84%)
CMYKcmyk(18.2%, 0%, 36%, 16.1%)
CIE-LABlab(81.30, -26.14, 33.94)
CIE-LCHlch(81.30, 42.84, 127.61°)
OKLaboklab(82.96% -0.0714 0.0841)
OKLCHoklch(82.96% 0.11 130.3)
XYZxyz(46.2404, 59.0125, 32.6165)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD689 #B089D6
analogous
#D6D689 #AFD689 #89D68A
triadic
#AFD689 #89AFD6 #D689AF
tetradic
#AFD689 #89D6D6 #B089D6 #D68A89
square
#AFD689 #89D6D6 #B089D6 #D68A89
split-complementary
#AFD689 #8A89D6 #D689D6
monochromatic
#72AA3B #90C65C #AFD689 #CEE6B6 #EDF6E4

Accessibility & contrast

On white

1.64
#AFD689 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#AFD689 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD689
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD689#FFFFFF#000000##000000
##AFD6891.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC84
Deuteranopia (green-blind)
#D7C98D
Tritanopia (blue-blind)
#B1D0C3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd689;
/* rgb */ color: rgb(175, 214, 137);
/* oklch */ color: oklch(83.0% 0.110 130.3);
Tailwind
colors: {
  custom: {
    50: '#c8e2ac',
    500: '#afd689',
    950: '#000000',
  },
}
SCSS
$custom: #afd689;
$custom-light: #c8e2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afd689",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 137
  },
  "hsl": {
    "h": 90.39,
    "s": 48.428,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82959,
    "c": 0.1103,
    "h": 130.3
  },
  "luminance": 0.59013
}

Semantic roles & 50–950 ramp

primary
#AFD689
secondary
#8257AC
accent
#2ABC74
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD689

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

Preview Lab → · Contrast checker → · Palette generator →

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