#AFEB81#AFEB81

#AFEB81 is a very light, vivid yellow-green. Relative luminance 0.701; OKLCH L 87.6% C 0.150 H 132.9°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#AFEB81
RGBrgb(175, 235, 129)
HSLhsl(94, 73%, 71%)
HSVhsv(94, 45%, 92%)
CMYKcmyk(25.5%, 0%, 45.1%, 7.8%)
CIE-LABlab(87.05, -36.97, 45.27)
CIE-LCHlch(87.05, 58.45, 129.23°)
OKLaboklab(87.56% -0.1019 0.1097)
OKLCHoklch(87.56% 0.15 132.9)
XYZxyz(51.3490, 70.1142, 31.5926)
Luminance0.7012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB81 #BD81EB
analogous
#E4EB81 #AFEB81 #81EB88
triadic
#AFEB81 #81AFEB #EB81AF
tetradic
#AFEB81 #81E4EB #BD81EB #EB8881
square
#AFEB81 #81E4EB #BD81EB #EB8881
split-complementary
#AFEB81 #8881EB #EB81E4
monochromatic
#6DD121 #8DE34C #AFEB81 #D1F3B6 #EEFBE5

Accessibility & contrast

On white

1.40
#AFEB81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#AFEB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB81
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB81#FFFFFF#000000##000000
##AFEB811.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD78
Deuteranopia (green-blind)
#EAD887
Tritanopia (blue-blind)
#B0E4D2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb81;
/* rgb */ color: rgb(175, 235, 129);
/* oklch */ color: oklch(87.6% 0.150 132.9);
Tailwind
colors: {
  custom: {
    50: '#c9f1a7',
    500: '#afeb81',
    950: '#000000',
  },
}
SCSS
$custom: #afeb81;
$custom-light: #c9f1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb81",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 129
  },
  "hsl": {
    "h": 93.962,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.87558,
    "c": 0.14972,
    "h": 132.9
  },
  "luminance": 0.70116
}

Semantic roles & 50–950 ramp

primary
#AFEB81
secondary
#904CC5
accent
#11D580
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#131710
muted
#838580

Preview Lab

Preview with #AFEB81

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

Preview Lab → · Contrast checker → · Palette generator →

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