#CAFA96#CAFA96

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

Color values

HEX#CAFA96
RGBrgb(202, 250, 150)
HSLhsl(89, 91%, 78%)
HSVhsv(89, 40%, 98%)
CMYKcmyk(19.2%, 0%, 40%, 2%)
CIE-LABlab(93.07, -31.78, 43.02)
CIE-LCHlch(93.07, 53.49, 126.45°)
OKLaboklab(92.92% -0.0873 0.1054)
OKLCHoklch(92.92% 0.137 129.6)
XYZxyz(64.0469, 83.1288, 41.5194)
Luminance0.8313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA96 #C696FA
analogous
#FAF896 #CAFA96 #98FA96
triadic
#CAFA96 #96CAFA #FA96CA
tetradic
#CAFA96 #96FAF8 #C696FA #FA9698
square
#CAFA96 #96FAF8 #C696FA #FA9698
split-complementary
#CAFA96 #9698FA #F896FA
monochromatic
#8FF421 #ADF75C #CAFA96 #E7FDD0 #F0FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAFA96#FFFFFF#000000##000000
##CAFA961.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)
#FFED8E
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#CDF2E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafa96;
/* rgb */ color: rgb(202, 250, 150);
/* oklch */ color: oklch(92.9% 0.137 129.6);
Tailwind
colors: {
  custom: {
    50: '#dbfcb6',
    500: '#cafa96',
    950: '#000000',
  },
}
SCSS
$custom: #cafa96;
$custom-light: #dbfcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa96",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 88.8,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92916,
    "c": 0.13687,
    "h": 129.6
  },
  "luminance": 0.8313
}

Semantic roles & 50–950 ramp

primary
#CAFA96
secondary
#985ADA
accent
#00E66E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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