#AFE780#AFE780

#AFE780 is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.6% C 0.145 H 132.1°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#AFE780
RGBrgb(175, 231, 128)
HSLhsl(93, 68%, 70%)
HSVhsv(93, 45%, 91%)
CMYKcmyk(24.2%, 0%, 44.6%, 9.4%)
CIE-LABlab(85.92, -35.27, 44.34)
CIE-LCHlch(85.92, 56.65, 128.50°)
OKLaboklab(86.64% -0.0972 0.1076)
OKLCHoklch(86.64% 0.145 132.1)
XYZxyz(50.1506, 67.8231, 30.8668)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE780 #B880E7
analogous
#E3E780 #AFE780 #80E784
triadic
#AFE780 #80AFE7 #E780AF
tetradic
#AFE780 #80E3E7 #B880E7 #E78480
square
#AFE780 #80E3E7 #B880E7 #E78480
split-complementary
#AFE780 #8480E7 #E780E3
monochromatic
#6FC726 #8FDD4D #AFE780 #CFF1B3 #EFFAE5

Accessibility & contrast

On white

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

On black

14.56
#AFE780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE780
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE780#FFFFFF#000000##000000
##AFE7801.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA78
Deuteranopia (green-blind)
#E7D586
Tritanopia (blue-blind)
#B1E0CE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe780;
/* rgb */ color: rgb(175, 231, 128);
/* oklch */ color: oklch(86.6% 0.145 132.1);
Tailwind
colors: {
  custom: {
    50: '#c9efa6',
    500: '#afe780',
    950: '#000000',
  },
}
SCSS
$custom: #afe780;
$custom-light: #c9efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe780",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 128
  },
  "hsl": {
    "h": 92.621,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86637,
    "c": 0.14498,
    "h": 132.1
  },
  "luminance": 0.67824
}

Semantic roles & 50–950 ramp

primary
#AFE780
secondary
#8B4CC0
accent
#15D07B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE780

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

Preview Lab → · Contrast checker → · Palette generator →

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