#AFE998#AFE998

#AFE998 is a very light, vivid green. Relative luminance 0.697; OKLCH L 87.5% C 0.123 H 137.1°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#AFE998
RGBrgb(175, 233, 152)
HSLhsl(103, 65%, 75%)
HSVhsv(103, 35%, 91%)
CMYKcmyk(24.9%, 0%, 34.8%, 8.6%)
CIE-LABlab(86.83, -33.02, 33.60)
CIE-LCHlch(86.83, 47.11, 134.50°)
OKLaboklab(87.49% -0.0901 0.0837)
OKLCHoklch(87.49% 0.123 137.1)
XYZxyz(52.4841, 69.6572, 40.3796)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE998 #D298E9
analogous
#D7E998 #AFE998 #98E9A9
triadic
#AFE998 #98AFE9 #E998AF
tetradic
#AFE998 #98D7E9 #D298E9 #E9A998
square
#AFE998 #98D7E9 #D298E9 #E9A998
split-complementary
#AFE998 #A998E9 #E998D7
monochromatic
#61D333 #88DE66 #AFE998 #D6F4CA #EBFAE6

Accessibility & contrast

On white

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

On black

14.93
#AFE998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE998
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE998#FFFFFF#000000##000000
##AFE9981.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDD92
Deuteranopia (green-blind)
#E5D79C
Tritanopia (blue-blind)
#ADE3D4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afe998;
/* rgb */ color: rgb(175, 233, 152);
/* oklch */ color: oklch(87.5% 0.123 137.1);
Tailwind
colors: {
  custom: {
    50: '#c8f0b7',
    500: '#afe998',
    950: '#000000',
  },
}
SCSS
$custom: #afe998;
$custom-light: #c8f0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe998",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 102.963,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.87487,
    "c": 0.12296,
    "h": 137.1
  },
  "luminance": 0.69659
}

Semantic roles & 50–950 ramp

primary
#AFE998
secondary
#A861C4
accent
#19CD9A
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE998

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

Preview Lab → · Contrast checker → · Palette generator →

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