#CAFF98#CAFF98

#CAFF98 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.0% C 0.142 H 130.9°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#CAFF98
RGBrgb(202, 255, 152)
HSLhsl(91, 100%, 80%)
HSVhsv(91, 40%, 100%)
CMYKcmyk(20.8%, 0%, 40.4%, 0%)
CIE-LABlab(94.46, -33.84, 43.83)
CIE-LCHlch(94.46, 55.37, 127.67°)
OKLaboklab(94.04% -0.0929 0.1073)
OKLCHoklch(94.04% 0.142 130.9)
XYZxyz(65.7836, 86.3423, 42.8996)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFF98 #CD98FF
analogous
#FDFF98 #CAFF98 #98FF9A
triadic
#CAFF98 #98CAFF #FF98CA
tetradic
#CAFF98 #98FDFF #CD98FF #FF9A98
square
#CAFF98 #98FDFF #CD98FF #FF9A98
split-complementary
#CAFF98 #9A98FF #FF98FD
monochromatic
#8BFF1E #ABFF5B #CAFF98 #E9FFD5 #EFFFE0

Accessibility & contrast

On white

1.15
#CAFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#CAFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFF98
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFF98#FFFFFF#000000##000000
##CAFF981.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF290
Deuteranopia (green-blind)
#FFEE9E
Tritanopia (blue-blind)
#CDF7E6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #caff98;
/* rgb */ color: rgb(202, 255, 152);
/* oklch */ color: oklch(94.0% 0.142 130.9);
Tailwind
colors: {
  custom: {
    50: '#dcffb7',
    500: '#caff98',
    950: '#000000',
  },
}
SCSS
$custom: #caff98;
$custom-light: #dcffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#caff98",
  "rgb": {
    "r": 202,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 90.874,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94042,
    "c": 0.14198,
    "h": 130.9
  },
  "luminance": 0.86344
}

Semantic roles & 50–950 ramp

primary
#CAFF98
secondary
#A059E2
accent
#00E676
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CAFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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