#AFFB98#AFFB98

#AFFB98 is a very light, vivid green. Relative luminance 0.804; OKLCH L 91.5% C 0.150 H 138.6°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#AFFB98
RGBrgb(175, 251, 152)
HSLhsl(106, 93%, 79%)
HSVhsv(106, 39%, 98%)
CMYKcmyk(30.3%, 0%, 39.4%, 1.6%)
CIE-LABlab(91.85, -41.17, 40.17)
CIE-LCHlch(91.85, 57.52, 135.70°)
OKLaboklab(91.54% -0.1125 0.099)
OKLCHoklch(91.54% 0.15 138.6)
XYZxyz(57.8420, 80.3730, 42.1656)
Luminance0.8037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB98 #E498FB
analogous
#E0FB98 #AFFB98 #98FBB3
triadic
#AFFB98 #98AFFB #FB98AF
tetradic
#AFFB98 #98E0FB #E498FB #FBB398
square
#AFFB98 #98E0FB #E498FB #FBB398
split-complementary
#AFFB98 #B398FB #FB98E0
monochromatic
#53F622 #81F95D #AFFB98 #DDFDD3 #E8FEE2

Accessibility & contrast

On white

1.23
#AFFB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#AFFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB98
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB98#FFFFFF#000000##000000
##AFFB981.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC91
Deuteranopia (green-blind)
#F5E59E
Tritanopia (blue-blind)
#ABF5E3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affb98;
/* rgb */ color: rgb(175, 251, 152);
/* oklch */ color: oklch(91.5% 0.150 138.6);
Tailwind
colors: {
  custom: {
    50: '#c9fdb7',
    500: '#affb98',
    950: '#000000',
  },
}
SCSS
$custom: #affb98;
$custom-light: #c9fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affb98",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 106.061,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.91544,
    "c": 0.14989,
    "h": 138.6
  },
  "luminance": 0.80375
}

Semantic roles & 50–950 ramp

primary
#AFFB98
secondary
#BE5BDC
accent
#00E6B0
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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