#CAF87C#CAF87C

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

Color values

HEX#CAF87C
RGBrgb(202, 248, 124)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 50%, 97%)
CMYKcmyk(18.5%, 0%, 50%, 2.7%)
CIE-LABlab(92.20, -33.76, 54.29)
CIE-LCHlch(92.20, 63.93, 121.87°)
OKLaboklab(92.11% -0.0945 0.1292)
OKLCHoklch(92.11% 0.16 126.2)
XYZxyz(61.5624, 81.1459, 31.4843)
Luminance0.8115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF87C #AA7CF8
analogous
#F8E87C #CAF87C #8CF87C
triadic
#CAF87C #7CCAF8 #F87CCA
tetradic
#CAF87C #7CF8E8 #AA7CF8 #F87C8C
square
#CAF87C #7CF8E8 #AA7CF8 #F87C8C
split-complementary
#CAF87C #7C8CF8 #E87CF8
monochromatic
#9AED0D #B2F542 #CAF87C #E2FBB6 #F3FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF87C#FFFFFF#000000##000000
##CAF87C1.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)
#FFEA71
Deuteranopia (green-blind)
#FDE883
Tritanopia (blue-blind)
#D0EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf87c;
/* rgb */ color: rgb(202, 248, 124);
/* oklch */ color: oklch(92.1% 0.160 126.2);
Tailwind
colors: {
  custom: {
    50: '#dcfaa5',
    500: '#caf87c',
    950: '#000000',
  },
}
SCSS
$custom: #caf87c;
$custom-light: #dcfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#caf87c",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 82.258,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92105,
    "c": 0.16006,
    "h": 126.2
  },
  "luminance": 0.81147
}

Semantic roles & 50–950 ramp

primary
#CAF87C
secondary
#7944D4
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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