#AFFA98#AFFA98

#AFFA98 is a very light, vivid green. Relative luminance 0.798; OKLCH L 91.3% C 0.148 H 138.6°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#AFFA98
RGBrgb(175, 250, 152)
HSLhsl(106, 91%, 79%)
HSVhsv(106, 39%, 98%)
CMYKcmyk(30%, 0%, 39.2%, 2%)
CIE-LABlab(91.57, -40.72, 39.81)
CIE-LCHlch(91.57, 56.95, 135.65°)
OKLaboklab(91.32% -0.1113 0.0982)
OKLCHoklch(91.32% 0.148 138.6)
XYZxyz(57.5305, 79.7499, 42.0617)
Luminance0.7975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA98 #E398FA
analogous
#E0FA98 #AFFA98 #98FAB2
triadic
#AFFA98 #98AFFA #FA98AF
tetradic
#AFFA98 #98E0FA #E398FA #FAB298
square
#AFFA98 #98E0FA #E398FA #FAB298
split-complementary
#AFFA98 #B298FA #FA98E0
monochromatic
#54F423 #82F75E #AFFA98 #DCFDD2 #E8FEE2

Accessibility & contrast

On white

1.24
#AFFA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#AFFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA98
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA98#FFFFFF#000000##000000
##AFFA981.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#F4E49E
Tritanopia (blue-blind)
#ABF4E2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affa98;
/* rgb */ color: rgb(175, 250, 152);
/* oklch */ color: oklch(91.3% 0.148 138.6);
Tailwind
colors: {
  custom: {
    50: '#c9fcb7',
    500: '#affa98',
    950: '#000000',
  },
}
SCSS
$custom: #affa98;
$custom-light: #c9fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affa98",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 105.918,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91318,
    "c": 0.14842,
    "h": 138.6
  },
  "luminance": 0.79752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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