#CAF587#CAF587

#CAF587 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.6% C 0.145 H 126.6°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#CAF587
RGBrgb(202, 245, 135)
HSLhsl(83, 85%, 75%)
HSVhsv(83, 45%, 96%)
CMYKcmyk(17.6%, 0%, 44.9%, 3.9%)
CIE-LABlab(91.51, -31.22, 48.29)
CIE-LCHlch(91.51, 57.50, 122.88°)
OKLaboklab(91.6% -0.0866 0.1166)
OKLCHoklch(91.6% 0.145 126.6)
XYZxyz(61.3823, 79.6100, 35.0494)
Luminance0.7961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF587 #B287F5
analogous
#F5E987 #CAF587 #93F587
triadic
#CAF587 #87CAF5 #F587CA
tetradic
#CAF587 #87F5E9 #B287F5 #F58793
square
#CAF587 #87F5E9 #B287F5 #F58793
split-complementary
#CAF587 #8793F5 #E987F5
monochromatic
#98EC16 #B1F04F #CAF587 #E3FABF #F3FDE3

Accessibility & contrast

On white

1.24
#CAF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#CAF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF587
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF587#FFFFFF#000000##000000
##CAF5871.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87E
Deuteranopia (green-blind)
#F9E68D
Tritanopia (blue-blind)
#D0ECDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #caf587;
/* rgb */ color: rgb(202, 245, 135);
/* oklch */ color: oklch(91.6% 0.145 126.6);
Tailwind
colors: {
  custom: {
    50: '#dcf8ac',
    500: '#caf587',
    950: '#000000',
  },
}
SCSS
$custom: #caf587;
$custom-light: #dcf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#caf587",
  "rgb": {
    "r": 202,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 83.455,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91595,
    "c": 0.14526,
    "h": 126.6
  },
  "luminance": 0.79611
}

Semantic roles & 50–950 ramp

primary
#CAF587
secondary
#824ED2
accent
#04E15B
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAF587

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

Preview Lab → · Contrast checker → · Palette generator →

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