#AFE784#AFE784

#AFE784 is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 86.7% C 0.141 H 132.7°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#AFE784
RGBrgb(175, 231, 132)
HSLhsl(94, 67%, 71%)
HSVhsv(94, 43%, 91%)
CMYKcmyk(24.2%, 0%, 42.9%, 9.4%)
CIE-LABlab(85.97, -34.78, 42.45)
CIE-LCHlch(85.97, 54.88, 129.33°)
OKLaboklab(86.7% -0.0956 0.1035)
OKLCHoklch(86.7% 0.141 132.7)
XYZxyz(50.4190, 67.9305, 32.2808)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE784 #BC84E7
analogous
#E1E784 #AFE784 #84E78A
triadic
#AFE784 #84AFE7 #E784AF
tetradic
#AFE784 #84E1E7 #BC84E7 #E78A84
square
#AFE784 #84E1E7 #BC84E7 #E78A84
split-complementary
#AFE784 #8A84E7 #E784E1
monochromatic
#6EC927 #8EDD51 #AFE784 #D0F1B7 #EEFAE5

Accessibility & contrast

On white

1.44
#AFE784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#AFE784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE784
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE784#FFFFFF#000000##000000
##AFE7841.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA7C
Deuteranopia (green-blind)
#E6D58A
Tritanopia (blue-blind)
#B0E0CF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe784;
/* rgb */ color: rgb(175, 231, 132);
/* oklch */ color: oklch(86.7% 0.141 132.7);
Tailwind
colors: {
  custom: {
    50: '#c9efa9',
    500: '#afe784',
    950: '#000000',
  },
}
SCSS
$custom: #afe784;
$custom-light: #c9efa9;
$custom-dark: #000000;
JSON
{
  "hex": "#afe784",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 132
  },
  "hsl": {
    "h": 93.939,
    "s": 67.347,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86698,
    "c": 0.14092,
    "h": 132.7
  },
  "luminance": 0.67932
}

Semantic roles & 50–950 ramp

primary
#AFE784
secondary
#8F4FC0
accent
#16CF7F
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE784

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

Preview Lab → · Contrast checker → · Palette generator →

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