#CAF87D#CAF87D

#CAF87D is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.159 H 126.3°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#CAF87D
RGBrgb(202, 248, 125)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 50%, 97%)
CMYKcmyk(18.5%, 0%, 49.6%, 2.7%)
CIE-LABlab(92.21, -33.66, 53.84)
CIE-LCHlch(92.21, 63.50, 122.01°)
OKLaboklab(92.12% -0.0941 0.1283)
OKLCHoklch(92.12% 0.159 126.3)
XYZxyz(61.6260, 81.1713, 31.8190)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF87D #AB7DF8
analogous
#F8E87D #CAF87D #8CF87D
triadic
#CAF87D #7DCAF8 #F87DCA
tetradic
#CAF87D #7DF8E8 #AB7DF8 #F87D8C
square
#CAF87D #7DF8E8 #AB7DF8 #F87D8C
split-complementary
#CAF87D #7D8CF8 #E87DF8
monochromatic
#9AEE0D #B2F543 #CAF87D #E2FBB7 #F3FDE2

Accessibility & contrast

On white

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

On black

17.23
#CAF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF87D
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF87D#FFFFFF#000000##000000
##CAF87D1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA72
Deuteranopia (green-blind)
#FDE884
Tritanopia (blue-blind)
#D0EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf87d;
/* rgb */ color: rgb(202, 248, 125);
/* oklch */ color: oklch(92.1% 0.159 126.3);
Tailwind
colors: {
  custom: {
    50: '#dcfaa5',
    500: '#caf87d',
    950: '#000000',
  },
}
SCSS
$custom: #caf87d;
$custom-light: #dcfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#caf87d",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 82.439,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92118,
    "c": 0.15911,
    "h": 126.3
  },
  "luminance": 0.81172
}

Semantic roles & 50–950 ramp

primary
#CAF87D
secondary
#7A45D4
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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