#AFFC98#AFFC98

#AFFC98 is a very light, vivid green. Relative luminance 0.810; OKLCH L 91.8% C 0.151 H 138.7°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#AFFC98
RGBrgb(175, 252, 152)
HSLhsl(106, 94%, 79%)
HSVhsv(106, 40%, 99%)
CMYKcmyk(30.6%, 0%, 39.7%, 1.2%)
CIE-LABlab(92.13, -41.61, 40.53)
CIE-LCHlch(92.13, 58.09, 135.75°)
OKLaboklab(91.77% -0.1137 0.0999)
OKLCHoklch(91.77% 0.151 138.7)
XYZxyz(58.1552, 80.9995, 42.2700)
Luminance0.8100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC98 #E598FC
analogous
#E1FC98 #AFFC98 #98FCB3
triadic
#AFFC98 #98AFFC #FC98AF
tetradic
#AFFC98 #98E1FC #E598FC #FCB398
square
#AFFC98 #98E1FC #E598FC #FCB398
split-complementary
#AFFC98 #B398FC #FC98E1
monochromatic
#53F921 #81FA5D #AFFC98 #DDFED3 #E8FEE1

Accessibility & contrast

On white

1.22
#AFFC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#AFFC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC98
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC98#FFFFFF#000000##000000
##AFFC981.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#F6E69E
Tritanopia (blue-blind)
#ABF6E3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affc98;
/* rgb */ color: rgb(175, 252, 152);
/* oklch */ color: oklch(91.8% 0.151 138.7);
Tailwind
colors: {
  custom: {
    50: '#c9fdb7',
    500: '#affc98',
    950: '#000000',
  },
}
SCSS
$custom: #affc98;
$custom-light: #c9fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affc98",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 106.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.91771,
    "c": 0.15136,
    "h": 138.7
  },
  "luminance": 0.81002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFC98

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

Preview Lab → · Contrast checker → · Palette generator →

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