#AFE98E#AFE98E

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

Color values

HEX#AFE98E
RGBrgb(175, 233, 142)
HSLhsl(98, 67%, 74%)
HSVhsv(98, 39%, 91%)
CMYKcmyk(24.9%, 0%, 39.1%, 8.6%)
CIE-LABlab(86.67, -34.41, 38.41)
CIE-LCHlch(86.67, 51.57, 131.85°)
OKLaboklab(87.31% -0.0942 0.0946)
OKLCHoklch(87.31% 0.134 134.9)
XYZxyz(51.6994, 69.3433, 36.2467)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE98E #C88EE9
analogous
#DCE98E #AFE98E #8EE99A
triadic
#AFE98E #8EAFE9 #E98EAF
tetradic
#AFE98E #8EDCE9 #C88EE9 #E99A8E
square
#AFE98E #8EDCE9 #C88EE9 #E99A8E
split-complementary
#AFE98E #9A8EE9 #E98EDC
monochromatic
#67D329 #8BDF5B #AFE98E #D3F3C1 #EDFAE5

Accessibility & contrast

On white

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

On black

14.87
#AFE98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE98E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE98E#FFFFFF#000000##000000
##AFE98E1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC87
Deuteranopia (green-blind)
#E7D793
Tritanopia (blue-blind)
#AFE3D2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe98e;
/* rgb */ color: rgb(175, 233, 142);
/* oklch */ color: oklch(87.3% 0.134 134.9);
Tailwind
colors: {
  custom: {
    50: '#c8f0b0',
    500: '#afe98e',
    950: '#000000',
  },
}
SCSS
$custom: #afe98e;
$custom-light: #c8f0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe98e",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 98.242,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87311,
    "c": 0.13352,
    "h": 134.9
  },
  "luminance": 0.69345
}

Semantic roles & 50–950 ramp

primary
#AFE98E
secondary
#9C58C3
accent
#16CF8C
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131610
muted
#838581

Preview Lab

Preview with #AFE98E

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

Preview Lab → · Contrast checker → · Palette generator →

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