#AFD784#AFD784

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

Color values

HEX#AFD784
RGBrgb(175, 215, 132)
HSLhsl(89, 51%, 68%)
HSVhsv(89, 39%, 84%)
CMYKcmyk(18.6%, 0%, 38.6%, 15.7%)
CIE-LABlab(81.50, -27.29, 36.74)
CIE-LCHlch(81.50, 45.76, 126.60°)
OKLaboklab(83.1% -0.0748 0.0904)
OKLCHoklch(83.1% 0.117 129.6)
XYZxyz(46.1438, 59.3801, 30.8557)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD784 #AC84D7
analogous
#D7D584 #AFD784 #85D784
triadic
#AFD784 #84AFD7 #D784AF
tetradic
#AFD784 #84D7D5 #AC84D7 #D78485
square
#AFD784 #84D7D5 #AC84D7 #D78485
split-complementary
#AFD784 #8485D7 #D584D7
monochromatic
#72A937 #91C856 #AFD784 #CDE6B2 #EBF5E0

Accessibility & contrast

On white

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

On black

12.88
#AFD784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD784
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD784#FFFFFF#000000##000000
##AFD7841.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC7E
Deuteranopia (green-blind)
#D8CA88
Tritanopia (blue-blind)
#B2D0C2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd784;
/* rgb */ color: rgb(175, 215, 132);
/* oklch */ color: oklch(83.1% 0.117 129.6);
Tailwind
colors: {
  custom: {
    50: '#c8e3a9',
    500: '#afd784',
    950: '#000000',
  },
}
SCSS
$custom: #afd784;
$custom-light: #c8e3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afd784",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 132
  },
  "hsl": {
    "h": 88.916,
    "s": 50.92,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83096,
    "c": 0.11733,
    "h": 129.6
  },
  "luminance": 0.59381
}

Semantic roles & 50–950 ramp

primary
#AFD784
secondary
#7E52AD
accent
#27BE70
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFD784

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

Preview Lab → · Contrast checker → · Palette generator →

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