#AFD789#AFD789

#AFD789 is a very light, moderate yellow-green. Relative luminance 0.595; OKLCH L 83.2% C 0.112 H 130.6°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD789
RGBrgb(175, 215, 137)
HSLhsl(91, 49%, 69%)
HSVhsv(91, 36%, 84%)
CMYKcmyk(18.6%, 0%, 36.3%, 15.7%)
CIE-LABlab(81.58, -26.63, 34.30)
CIE-LCHlch(81.58, 43.42, 127.82°)
OKLaboklab(83.18% -0.0727 0.0849)
OKLCHoklch(83.18% 0.112 130.6)
XYZxyz(46.4942, 59.5202, 32.7011)
Luminance0.5952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD789 #B189D7
analogous
#D6D789 #AFD789 #89D78A
triadic
#AFD789 #89AFD7 #D789AF
tetradic
#AFD789 #89D6D7 #B189D7 #D78A89
square
#AFD789 #89D6D7 #B189D7 #D78A89
split-complementary
#AFD789 #8A89D7 #D789D6
monochromatic
#71AB3A #90C85B #AFD789 #CEE6B7 #EDF6E4

Accessibility & contrast

On white

1.63
#AFD789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#AFD789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD789
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD789#FFFFFF#000000##000000
##AFD7891.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD83
Deuteranopia (green-blind)
#D8CA8D
Tritanopia (blue-blind)
#B1D1C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd789;
/* rgb */ color: rgb(175, 215, 137);
/* oklch */ color: oklch(83.2% 0.112 130.6);
Tailwind
colors: {
  custom: {
    50: '#c8e3ac',
    500: '#afd789',
    950: '#000000',
  },
}
SCSS
$custom: #afd789;
$custom-light: #c8e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afd789",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 137
  },
  "hsl": {
    "h": 90.769,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83183,
    "c": 0.11181,
    "h": 130.6
  },
  "luminance": 0.59521
}

Semantic roles & 50–950 ramp

primary
#AFD789
secondary
#8357AD
accent
#29BD75
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD789

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

Preview Lab → · Contrast checker → · Palette generator →

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