#AFD786#AFD786

#AFD786 is a very light, moderate yellow-green. Relative luminance 0.594; OKLCH L 83.1% C 0.115 H 130.0°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#AFD786
RGBrgb(175, 215, 134)
HSLhsl(90, 50%, 68%)
HSVhsv(90, 38%, 84%)
CMYKcmyk(18.6%, 0%, 37.7%, 15.7%)
CIE-LABlab(81.53, -27.03, 35.76)
CIE-LCHlch(81.53, 44.83, 127.08°)
OKLaboklab(83.13% -0.074 0.0882)
OKLCHoklch(83.13% 0.115 130)
XYZxyz(46.2820, 59.4353, 31.5834)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD786 #AE86D7
analogous
#D7D786 #AFD786 #86D786
triadic
#AFD786 #86AFD7 #D786AF
tetradic
#AFD786 #86D7D7 #AE86D7 #D78686
square
#AFD786 #86D7D7 #AE86D7 #D78686
split-complementary
#AFD786 #8686D7 #D786D7
monochromatic
#72AA38 #91C858 #AFD786 #CDE6B4 #ECF5E2

Accessibility & contrast

On white

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

On black

12.89
#AFD786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD786
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD786#FFFFFF#000000##000000
##AFD7861.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC80
Deuteranopia (green-blind)
#D8CA8A
Tritanopia (blue-blind)
#B2D0C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd786;
/* rgb */ color: rgb(175, 215, 134);
/* oklch */ color: oklch(83.1% 0.115 130.0);
Tailwind
colors: {
  custom: {
    50: '#c8e3aa',
    500: '#afd786',
    950: '#000000',
  },
}
SCSS
$custom: #afd786;
$custom-light: #c8e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afd786",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 89.63,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8313,
    "c": 0.11513,
    "h": 130
  },
  "luminance": 0.59436
}

Semantic roles & 50–950 ramp

primary
#AFD786
secondary
#8054AD
accent
#28BE72
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD786

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

Preview Lab → · Contrast checker → · Palette generator →

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