#CAFA98#CAFA98

#CAFA98 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 92.9% C 0.135 H 129.9°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#CAFA98
RGBrgb(202, 250, 152)
HSLhsl(89, 91%, 79%)
HSVhsv(89, 39%, 98%)
CMYKcmyk(19.2%, 0%, 39.2%, 2%)
CIE-LABlab(93.10, -31.53, 42.08)
CIE-LCHlch(93.10, 52.59, 126.84°)
OKLaboklab(92.95% -0.0865 0.1033)
OKLCHoklch(92.95% 0.135 129.9)
XYZxyz(64.2093, 83.1937, 42.3748)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA98 #C898FA
analogous
#FAF998 #CAFA98 #99FA98
triadic
#CAFA98 #98CAFA #FA98CA
tetradic
#CAFA98 #98FAF9 #C898FA #FA9899
square
#CAFA98 #98FAF9 #C898FA #FA9899
split-complementary
#CAFA98 #9899FA #F998FA
monochromatic
#8EF423 #ACF75E #CAFA98 #E8FDD2 #F0FEE2

Accessibility & contrast

On white

1.19
#CAFA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#CAFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA98
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA98#FFFFFF#000000##000000
##CAFA981.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FBEA9D
Tritanopia (blue-blind)
#CDF2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafa98;
/* rgb */ color: rgb(202, 250, 152);
/* oklch */ color: oklch(92.9% 0.135 129.9);
Tailwind
colors: {
  custom: {
    50: '#dbfcb7',
    500: '#cafa98',
    950: '#000000',
  },
}
SCSS
$custom: #cafa98;
$custom-light: #dbfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa98",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 89.388,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.92948,
    "c": 0.13477,
    "h": 129.9
  },
  "luminance": 0.83195
}

Semantic roles & 50–950 ramp

primary
#CAFA98
secondary
#9A5CDB
accent
#00E670
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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