#AFE98A#AFE98A

#AFE98A is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.2% C 0.138 H 134.1°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#AFE98A
RGBrgb(175, 233, 138)
HSLhsl(97, 68%, 73%)
HSVhsv(97, 41%, 91%)
CMYKcmyk(24.9%, 0%, 40.8%, 8.6%)
CIE-LABlab(86.62, -34.94, 40.32)
CIE-LCHlch(86.62, 53.35, 130.91°)
OKLaboklab(87.24% -0.0958 0.0989)
OKLCHoklch(87.24% 0.138 134.1)
XYZxyz(51.4044, 69.2254, 34.6933)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE98A #C48AE9
analogous
#DEE98A #AFE98A #8AE995
triadic
#AFE98A #8AAFE9 #E98AAF
tetradic
#AFE98A #8ADEE9 #C48AE9 #E9958A
square
#AFE98A #8ADEE9 #C48AE9 #E9958A
split-complementary
#AFE98A #958AE9 #E98ADE
monochromatic
#6AD127 #8CDF56 #AFE98A #D2F3BE #EDFAE5

Accessibility & contrast

On white

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

On black

14.85
#AFE98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE98A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE98A#FFFFFF#000000##000000
##AFE98A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe98a;
/* rgb */ color: rgb(175, 233, 138);
/* oklch */ color: oklch(87.2% 0.138 134.1);
Tailwind
colors: {
  custom: {
    50: '#c8f0ad',
    500: '#afe98a',
    950: '#000000',
  },
}
SCSS
$custom: #afe98a;
$custom-light: #c8f0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afe98a",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 96.632,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.13768,
    "h": 134.1
  },
  "luminance": 0.69227
}

Semantic roles & 50–950 ramp

primary
#AFE98A
secondary
#9854C3
accent
#15D087
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE98A

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

Preview Lab → · Contrast checker → · Palette generator →

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