#AFE481#AFE481

#AFE481 is a very light, vivid yellow-green. Relative luminance 0.662; OKLCH L 86.0% C 0.140 H 131.8°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#AFE481
RGBrgb(175, 228, 129)
HSLhsl(92, 65%, 70%)
HSVhsv(92, 43%, 89%)
CMYKcmyk(23.2%, 0%, 43.4%, 10.6%)
CIE-LABlab(85.09, -33.77, 42.81)
CIE-LCHlch(85.09, 54.53, 128.27°)
OKLaboklab(85.97% -0.093 0.1042)
OKLCHoklch(85.97% 0.14 131.8)
XYZxyz(49.3842, 66.1846, 30.9377)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE481 #B681E4
analogous
#E1E481 #AFE481 #81E484
triadic
#AFE481 #81AFE4 #E481AF
tetradic
#AFE481 #81E1E4 #B681E4 #E48481
square
#AFE481 #81E1E4 #B681E4 #E48481
split-complementary
#AFE481 #8481E4 #E481E1
monochromatic
#70C129 #8FD94F #AFE481 #CFEFB3 #EFFAE6

Accessibility & contrast

On white

1.48
#AFE481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#AFE481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE481
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE481#FFFFFF#000000##000000
##AFE4811.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD779
Deuteranopia (green-blind)
#E4D387
Tritanopia (blue-blind)
#B1DDCC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe481;
/* rgb */ color: rgb(175, 228, 129);
/* oklch */ color: oklch(86.0% 0.140 131.8);
Tailwind
colors: {
  custom: {
    50: '#c9eca7',
    500: '#afe481',
    950: '#000000',
  },
}
SCSS
$custom: #afe481;
$custom-light: #c9eca7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe481",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 92.121,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.85974,
    "c": 0.13963,
    "h": 131.8
  },
  "luminance": 0.66186
}

Semantic roles & 50–950 ramp

primary
#AFE481
secondary
#894DBC
accent
#19CD79
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE481

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

Preview Lab → · Contrast checker → · Palette generator →

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