#CAFA97#CAFA97

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

Color values

HEX#CAFA97
RGBrgb(202, 250, 151)
HSLhsl(89, 91%, 79%)
HSVhsv(89, 40%, 98%)
CMYKcmyk(19.2%, 0%, 39.6%, 2%)
CIE-LABlab(93.08, -31.66, 42.55)
CIE-LCHlch(93.08, 53.04, 126.65°)
OKLaboklab(92.93% -0.0869 0.1044)
OKLCHoklch(92.93% 0.136 129.8)
XYZxyz(64.1278, 83.1611, 41.9453)
Luminance0.8316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA97 #C797FA
analogous
#FAF997 #CAFA97 #98FA97
triadic
#CAFA97 #97CAFA #FA97CA
tetradic
#CAFA97 #97FAF9 #C797FA #FA9798
square
#CAFA97 #97FAF9 #C797FA #FA9798
split-complementary
#CAFA97 #9798FA #F997FA
monochromatic
#8EF422 #ACF75D #CAFA97 #E8FDD1 #F0FEE2

Accessibility & contrast

On white

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

On black

17.63
#CAFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA97
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA97#FFFFFF#000000##000000
##CAFA971.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafa97;
/* rgb */ color: rgb(202, 250, 151);
/* oklch */ color: oklch(92.9% 0.136 129.8);
Tailwind
colors: {
  custom: {
    50: '#dbfcb7',
    500: '#cafa97',
    950: '#000000',
  },
}
SCSS
$custom: #cafa97;
$custom-light: #dbfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa97",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 89.091,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92932,
    "c": 0.13583,
    "h": 129.8
  },
  "luminance": 0.83162
}

Semantic roles & 50–950 ramp

primary
#CAFA97
secondary
#995BDA
accent
#00E66F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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