#CAFA87#CAFA87

#CAFA87 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.152 H 127.7°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#CAFA87
RGBrgb(202, 250, 135)
HSLhsl(85, 92%, 75%)
HSVhsv(85, 46%, 98%)
CMYKcmyk(19.2%, 0%, 46%, 2%)
CIE-LABlab(92.87, -33.52, 49.98)
CIE-LCHlch(92.87, 60.18, 123.85°)
OKLaboklab(92.69% -0.093 0.1204)
OKLCHoklch(92.69% 0.152 127.7)
XYZxyz(62.9154, 82.6762, 35.5604)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA87 #B787FA
analogous
#FAF087 #CAFA87 #91FA87
triadic
#CAFA87 #87CAFA #FA87CA
tetradic
#CAFA87 #87FAF0 #B787FA #FA8791
square
#CAFA87 #87FAF0 #B787FA #FA8791
split-complementary
#CAFA87 #8791FA #F087FA
monochromatic
#96F511 #B0F84C #CAFA87 #E4FCC2 #F2FEE2

Accessibility & contrast

On white

1.20
#CAFA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#CAFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA87
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA87#FFFFFF#000000##000000
##CAFA871.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7D
Deuteranopia (green-blind)
#FDEA8E
Tritanopia (blue-blind)
#CFF1DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa87;
/* rgb */ color: rgb(202, 250, 135);
/* oklch */ color: oklch(92.7% 0.152 127.7);
Tailwind
colors: {
  custom: {
    50: '#dcfcac',
    500: '#cafa87',
    950: '#000000',
  },
}
SCSS
$custom: #cafa87;
$custom-light: #dcfcac;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa87",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 85.043,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.92692,
    "c": 0.15216,
    "h": 127.7
  },
  "luminance": 0.82677
}

Semantic roles & 50–950 ramp

primary
#CAFA87
secondary
#874DD8
accent
#00E660
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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