#AFE281#AFE281

#AFE281 is a very light, vivid yellow-green. Relative luminance 0.651; OKLCH L 85.5% C 0.137 H 131.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#AFE281
RGBrgb(175, 226, 129)
HSLhsl(92, 63%, 70%)
HSVhsv(92, 43%, 89%)
CMYKcmyk(22.6%, 0%, 42.9%, 11.4%)
CIE-LABlab(84.53, -32.85, 42.10)
CIE-LCHlch(84.53, 53.40, 127.96°)
OKLaboklab(85.52% -0.0904 0.1026)
OKLCHoklch(85.52% 0.137 131.4)
XYZxyz(48.8372, 65.0906, 30.7553)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE281 #B481E2
analogous
#E0E281 #AFE281 #81E283
triadic
#AFE281 #81AFE2 #E281AF
tetradic
#AFE281 #81E0E2 #B481E2 #E28381
square
#AFE281 #81E0E2 #B481E2 #E28381
split-complementary
#AFE281 #8381E2 #E281E0
monochromatic
#71BD2C #8FD74F #AFE281 #CFEDB3 #EEF9E4

Accessibility & contrast

On white

1.50
#AFE281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#AFE281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE281
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE281#FFFFFF#000000##000000
##AFE2811.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD579
Deuteranopia (green-blind)
#E2D286
Tritanopia (blue-blind)
#B1DBCB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe281;
/* rgb */ color: rgb(175, 226, 129);
/* oklch */ color: oklch(85.5% 0.137 131.4);
Tailwind
colors: {
  custom: {
    50: '#c8eba7',
    500: '#afe281',
    950: '#000000',
  },
}
SCSS
$custom: #afe281;
$custom-light: #c8eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe281",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 91.546,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85522,
    "c": 0.13673,
    "h": 131.4
  },
  "luminance": 0.65092
}

Semantic roles & 50–950 ramp

primary
#AFE281
secondary
#864EBA
accent
#1BCA77
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE281

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

Preview Lab → · Contrast checker → · Palette generator →

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