#CAF787#CAF787

#CAF787 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.0% C 0.148 H 127.0°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#CAF787
RGBrgb(202, 247, 135)
HSLhsl(84, 88%, 75%)
HSVhsv(84, 45%, 97%)
CMYKcmyk(18.2%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.05, -32.14, 48.97)
CIE-LCHlch(92.05, 58.58, 123.28°)
OKLaboklab(92.03% -0.0892 0.1181)
OKLCHoklch(92.03% 0.148 127)
XYZxyz(61.9907, 80.8266, 35.2521)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF787 #B487F7
analogous
#F7EC87 #CAF787 #92F787
triadic
#CAF787 #87CAF7 #F787CA
tetradic
#CAF787 #87F7EC #B487F7 #F78792
square
#CAF787 #87F7EC #B487F7 #F78792
split-complementary
#CAF787 #8792F7 #EC87F7
monochromatic
#97EF14 #B1F34E #CAF787 #E3FBC0 #F2FDE2

Accessibility & contrast

On white

1.22
#CAF787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#CAF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF787
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF787#FFFFFF#000000##000000
##CAF7871.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FBE78D
Tritanopia (blue-blind)
#CFEEDD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf787;
/* rgb */ color: rgb(202, 247, 135);
/* oklch */ color: oklch(92.0% 0.148 127.0);
Tailwind
colors: {
  custom: {
    50: '#dcfaac',
    500: '#caf787',
    950: '#000000',
  },
}
SCSS
$custom: #caf787;
$custom-light: #dcfaac;
$custom-dark: #000000;
JSON
{
  "hex": "#caf787",
  "rgb": {
    "r": 202,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 84.107,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92034,
    "c": 0.14802,
    "h": 127
  },
  "luminance": 0.80827
}

Semantic roles & 50–950 ramp

primary
#CAF787
secondary
#844ED4
accent
#01E45C
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF787

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

Preview Lab → · Contrast checker → · Palette generator →

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