#AFE180#AFE180

#AFE180 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.3% C 0.136 H 131.1°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#AFE180
RGBrgb(175, 225, 128)
HSLhsl(91, 62%, 69%)
HSVhsv(91, 43%, 88%)
CMYKcmyk(22.2%, 0%, 43.1%, 11.8%)
CIE-LABlab(84.24, -32.51, 42.22)
CIE-LCHlch(84.24, 53.29, 127.59°)
OKLaboklab(85.28% -0.0895 0.1028)
OKLCHoklch(85.28% 0.136 131.1)
XYZxyz(48.5000, 64.5219, 30.3166)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE180 #B280E1
analogous
#DFE180 #AFE180 #80E182
triadic
#AFE180 #80AFE1 #E180AF
tetradic
#AFE180 #80DFE1 #B280E1 #E18280
square
#AFE180 #80DFE1 #B280E1 #E18280
split-complementary
#AFE180 #8280E1 #E180DF
monochromatic
#71BB2C #90D54E #AFE180 #CEEDB2 #EDF8E3

Accessibility & contrast

On white

1.51
#AFE180 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#AFE180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE180
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE180#FFFFFF#000000##000000
##AFE1801.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D578
Deuteranopia (green-blind)
#E1D185
Tritanopia (blue-blind)
#B1DACA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe180;
/* rgb */ color: rgb(175, 225, 128);
/* oklch */ color: oklch(85.3% 0.136 131.1);
Tailwind
colors: {
  custom: {
    50: '#c8eaa6',
    500: '#afe180',
    950: '#000000',
  },
}
SCSS
$custom: #afe180;
$custom-light: #c8eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afe180",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 128
  },
  "hsl": {
    "h": 90.928,
    "s": 61.783,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85281,
    "c": 0.13631,
    "h": 131.1
  },
  "luminance": 0.64523
}

Semantic roles & 50–950 ramp

primary
#AFE180
secondary
#844DB8
accent
#1CCA75
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE180

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

Preview Lab → · Contrast checker → · Palette generator →

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