#AFFD98#AFFD98

#AFFD98 is a very light, vivid green. Relative luminance 0.816; OKLCH L 92.0% C 0.153 H 138.8°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#AFFD98
RGBrgb(175, 253, 152)
HSLhsl(106, 96%, 79%)
HSVhsv(106, 40%, 99%)
CMYKcmyk(30.8%, 0%, 39.9%, 0.8%)
CIE-LABlab(92.41, -42.05, 40.90)
CIE-LCHlch(92.41, 58.66, 135.80°)
OKLaboklab(92% -0.1149 0.1007)
OKLCHoklch(92% 0.153 138.8)
XYZxyz(58.4701, 81.6292, 42.3749)
Luminance0.8163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFD98 #E698FD
analogous
#E1FD98 #AFFD98 #98FDB4
triadic
#AFFD98 #98AFFD #FD98AF
tetradic
#AFFD98 #98E1FD #E698FD #FDB498
square
#AFFD98 #98E1FD #E698FD #FDB498
split-complementary
#AFFD98 #B498FD #FD98E1
monochromatic
#52FB20 #80FC5C #AFFD98 #DEFED4 #E8FEE1

Accessibility & contrast

On white

1.21
#AFFD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#AFFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFD98
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFD98#FFFFFF#000000##000000
##AFFD981.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#F7E79E
Tritanopia (blue-blind)
#ABF7E4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #affd98;
/* rgb */ color: rgb(175, 253, 152);
/* oklch */ color: oklch(92.0% 0.153 138.8);
Tailwind
colors: {
  custom: {
    50: '#c9feb7',
    500: '#affd98',
    950: '#000000',
  },
}
SCSS
$custom: #affd98;
$custom-light: #c9feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affd98",
  "rgb": {
    "r": 175,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 106.337,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.91997,
    "c": 0.15281,
    "h": 138.8
  },
  "luminance": 0.81632
}

Semantic roles & 50–950 ramp

primary
#AFFD98
secondary
#C15ADF
accent
#00E6B1
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131811
muted
#838681

Preview Lab

Preview with #AFFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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