#AFE98D#AFE98D

#AFE98D is a very light, vivid yellow-green. Relative luminance 0.693; OKLCH L 87.3% C 0.135 H 134.7°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#AFE98D
RGBrgb(175, 233, 141)
HSLhsl(98, 68%, 73%)
HSVhsv(98, 39%, 91%)
CMYKcmyk(24.9%, 0%, 39.5%, 8.6%)
CIE-LABlab(86.66, -34.54, 38.89)
CIE-LCHlch(86.66, 52.02, 131.61°)
OKLaboklab(87.3% -0.0946 0.0957)
OKLCHoklch(87.3% 0.135 134.7)
XYZxyz(51.6246, 69.3134, 35.8530)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE98D #C78DE9
analogous
#DDE98D #AFE98D #8DE999
triadic
#AFE98D #8DAFE9 #E98DAF
tetradic
#AFE98D #8DDDE9 #C78DE9 #E9998D
square
#AFE98D #8DDDE9 #C78DE9 #E9998D
split-complementary
#AFE98D #998DE9 #E98DDD
monochromatic
#68D329 #8BDF5A #AFE98D #D3F3C0 #EDFAE5

Accessibility & contrast

On white

1.41
#AFE98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#AFE98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE98D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE98D#FFFFFF#000000##000000
##AFE98D1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC86
Deuteranopia (green-blind)
#E7D792
Tritanopia (blue-blind)
#AFE2D2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe98d;
/* rgb */ color: rgb(175, 233, 141);
/* oklch */ color: oklch(87.3% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#c8f0af',
    500: '#afe98d',
    950: '#000000',
  },
}
SCSS
$custom: #afe98d;
$custom-light: #c8f0af;
$custom-dark: #000000;
JSON
{
  "hex": "#afe98d",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 97.826,
    "s": 67.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87295,
    "c": 0.13456,
    "h": 134.7
  },
  "luminance": 0.69315
}

Semantic roles & 50–950 ramp

primary
#AFE98D
secondary
#9B57C3
accent
#16D08B
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE98D

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

Preview Lab → · Contrast checker → · Palette generator →

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