#CAFA99#CAFA99

#CAFA99 is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.0% C 0.134 H 130.1°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#CAFA99
RGBrgb(202, 250, 153)
HSLhsl(90, 91%, 79%)
HSVhsv(90, 39%, 98%)
CMYKcmyk(19.2%, 0%, 38.8%, 2%)
CIE-LABlab(93.11, -31.41, 41.61)
CIE-LCHlch(93.11, 52.13, 127.04°)
OKLaboklab(92.97% -0.0861 0.1023)
OKLCHoklch(92.97% 0.134 130.1)
XYZxyz(64.2916, 83.2266, 42.8080)
Luminance0.8323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA99 #C999FA
analogous
#FAFA99 #CAFA99 #9AFA99
triadic
#CAFA99 #99CAFA #FA99CA
tetradic
#CAFA99 #99FAFA #C999FA #FA999A
square
#CAFA99 #99FAFA #C999FA #FA999A
split-complementary
#CAFA99 #999AFA #FA99FA
monochromatic
#8DF424 #ACF75F #CAFA99 #E8FDD3 #F0FEE2

Accessibility & contrast

On white

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

On black

17.65
#CAFA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA99
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA99#FFFFFF#000000##000000
##CAFA991.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafa99;
/* rgb */ color: rgb(202, 250, 153);
/* oklch */ color: oklch(93.0% 0.134 130.1);
Tailwind
colors: {
  custom: {
    50: '#dbfcb8',
    500: '#cafa99',
    950: '#000000',
  },
}
SCSS
$custom: #cafa99;
$custom-light: #dbfcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa99",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 89.691,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.92965,
    "c": 0.13372,
    "h": 130.1
  },
  "luminance": 0.83228
}

Semantic roles & 50–950 ramp

primary
#CAFA99
secondary
#9B5DDB
accent
#00E672
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA99

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

Preview Lab → · Contrast checker → · Palette generator →

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