#AFEB8D#AFEB8D

#AFEB8D is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.7% C 0.138 H 134.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#AFEB8D
RGBrgb(175, 235, 141)
HSLhsl(98, 70%, 74%)
HSVhsv(98, 40%, 92%)
CMYKcmyk(25.5%, 0%, 40%, 7.8%)
CIE-LABlab(87.22, -35.46, 39.61)
CIE-LCHlch(87.22, 53.16, 131.83°)
OKLaboklab(87.75% -0.0971 0.0974)
OKLCHoklch(87.75% 0.138 134.9)
XYZxyz(52.1940, 70.4522, 36.0428)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB8D #C98DEB
analogous
#DEEB8D #AFEB8D #8DEB9A
triadic
#AFEB8D #8DAFEB #EB8DAF
tetradic
#AFEB8D #8DDEEB #C98DEB #EB9A8D
square
#AFEB8D #8DDEEB #C98DEB #EB9A8D
split-complementary
#AFEB8D #9A8DEB #EB8DDE
monochromatic
#66D826 #8AE259 #AFEB8D #D4F4C1 #EDFAE5

Accessibility & contrast

On white

1.39
#AFEB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#AFEB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB8D
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB8D#FFFFFF#000000##000000
##AFEB8D1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE86
Deuteranopia (green-blind)
#E9D992
Tritanopia (blue-blind)
#AFE4D4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb8d;
/* rgb */ color: rgb(175, 235, 141);
/* oklch */ color: oklch(87.7% 0.138 134.9);
Tailwind
colors: {
  custom: {
    50: '#c8f1af',
    500: '#afeb8d',
    950: '#000000',
  },
}
SCSS
$custom: #afeb8d;
$custom-light: #c8f1af;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb8d",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 141
  },
  "hsl": {
    "h": 98.298,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.87746,
    "c": 0.13753,
    "h": 134.9
  },
  "luminance": 0.70454
}

Semantic roles & 50–950 ramp

primary
#AFEB8D
secondary
#9D57C6
accent
#13D28D
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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