#AFE498#AFE498

#AFE498 is a very light, moderate green. Relative luminance 0.669; OKLCH L 86.4% C 0.115 H 136.5°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#AFE498
RGBrgb(175, 228, 152)
HSLhsl(102, 58%, 75%)
HSVhsv(102, 33%, 89%)
CMYKcmyk(23.2%, 0%, 33.3%, 10.6%)
CIE-LABlab(85.44, -30.69, 31.75)
CIE-LCHlch(85.44, 44.16, 134.03°)
OKLaboklab(86.37% -0.0837 0.0793)
OKLCHoklch(86.37% 0.115 136.5)
XYZxyz(51.0887, 66.8664, 39.9145)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE498 #CD98E4
analogous
#D5E498 #AFE498 #98E4A7
triadic
#AFE498 #98AFE4 #E498AF
tetradic
#AFE498 #98D5E4 #CD98E4 #E4A798
square
#AFE498 #98D5E4 #CD98E4 #E4A798
split-complementary
#AFE498 #A798E4 #E498D5
monochromatic
#64CB37 #89D768 #AFE498 #D5F1C8 #ECF9E7

Accessibility & contrast

On white

1.46
#AFE498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#AFE498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE498
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE498#FFFFFF#000000##000000
##AFE4981.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D893
Deuteranopia (green-blind)
#E1D49C
Tritanopia (blue-blind)
#AEDFD0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe498;
/* rgb */ color: rgb(175, 228, 152);
/* oklch */ color: oklch(86.4% 0.115 136.5);
Tailwind
colors: {
  custom: {
    50: '#c8ecb7',
    500: '#afe498',
    950: '#000000',
  },
}
SCSS
$custom: #afe498;
$custom-light: #c8ecb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe498",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 152
  },
  "hsl": {
    "h": 101.842,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.86365,
    "c": 0.11529,
    "h": 136.5
  },
  "luminance": 0.66868
}

Semantic roles & 50–950 ramp

primary
#AFE498
secondary
#A263BD
accent
#1FC694
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE498

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

Preview Lab → · Contrast checker → · Palette generator →

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