#AFE181#AFE181

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

Color values

HEX#AFE181
RGBrgb(175, 225, 129)
HSLhsl(91, 62%, 69%)
HSVhsv(91, 43%, 88%)
CMYKcmyk(22.2%, 0%, 42.7%, 11.8%)
CIE-LABlab(84.25, -32.38, 41.75)
CIE-LCHlch(84.25, 52.84, 127.80°)
OKLaboklab(85.3% -0.0891 0.1017)
OKLCHoklch(85.3% 0.135 131.2)
XYZxyz(48.5661, 64.5483, 30.6650)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE181 #B381E1
analogous
#DFE181 #AFE181 #81E183
triadic
#AFE181 #81AFE1 #E181AF
tetradic
#AFE181 #81DFE1 #B381E1 #E18381
square
#AFE181 #81DFE1 #B381E1 #E18381
split-complementary
#AFE181 #8381E1 #E181DF
monochromatic
#71BB2D #90D550 #AFE181 #CEEDB2 #EEF9E4

Accessibility & contrast

On white

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

On black

13.91
#AFE181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE181
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE181#FFFFFF#000000##000000
##AFE1811.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe181;
/* rgb */ color: rgb(175, 225, 129);
/* oklch */ color: oklch(85.3% 0.135 131.2);
Tailwind
colors: {
  custom: {
    50: '#c8eaa7',
    500: '#afe181',
    950: '#000000',
  },
}
SCSS
$custom: #afe181;
$custom-light: #c8eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe181",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 91.25,
    "s": 61.538,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85296,
    "c": 0.13527,
    "h": 131.2
  },
  "luminance": 0.64549
}

Semantic roles & 50–950 ramp

primary
#AFE181
secondary
#854EB8
accent
#1CC976
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE181

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

Preview Lab → · Contrast checker → · Palette generator →

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