#CAFE98#CAFE98

#CAFE98 is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 93.8% C 0.141 H 130.7°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#CAFE98
RGBrgb(202, 254, 152)
HSLhsl(91, 98%, 80%)
HSVhsv(91, 40%, 100%)
CMYKcmyk(20.5%, 0%, 40.2%, 0.4%)
CIE-LABlab(94.19, -33.38, 43.48)
CIE-LCHlch(94.19, 54.81, 127.51°)
OKLaboklab(93.82% -0.0917 0.1065)
OKLCHoklch(93.82% 0.141 130.7)
XYZxyz(65.4654, 85.7060, 42.7935)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE98 #CC98FE
analogous
#FDFE98 #CAFE98 #98FE99
triadic
#CAFE98 #98CAFE #FE98CA
tetradic
#CAFE98 #98FDFE #CC98FE #FE9998
square
#CAFE98 #98FDFE #CC98FE #FE9998
split-complementary
#CAFE98 #9998FE #FE98FD
monochromatic
#8CFD1F #ABFD5B #CAFE98 #E9FFD5 #EFFFE1

Accessibility & contrast

On white

1.16
#CAFE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#CAFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE98
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE98#FFFFFF#000000##000000
##CAFE981.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF190
Deuteranopia (green-blind)
#FFED9E
Tritanopia (blue-blind)
#CDF6E5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cafe98;
/* rgb */ color: rgb(202, 254, 152);
/* oklch */ color: oklch(93.8% 0.141 130.7);
Tailwind
colors: {
  custom: {
    50: '#dbffb7',
    500: '#cafe98',
    950: '#000000',
  },
}
SCSS
$custom: #cafe98;
$custom-light: #dbffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe98",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 90.588,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93823,
    "c": 0.14054,
    "h": 130.7
  },
  "luminance": 0.85707
}

Semantic roles & 50–950 ramp

primary
#CAFE98
secondary
#9E5AE0
accent
#00E675
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #CAFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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