#CAF87F#CAF87F

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

Color values

HEX#CAF87F
RGBrgb(202, 248, 127)
HSLhsl(83, 90%, 74%)
HSVhsv(83, 49%, 97%)
CMYKcmyk(18.5%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.23, -33.45, 52.95)
CIE-LCHlch(92.23, 62.63, 122.29°)
OKLaboklab(92.14% -0.0934 0.1265)
OKLCHoklch(92.14% 0.157 126.5)
XYZxyz(61.7550, 81.2230, 32.4987)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF87F #AD7FF8
analogous
#F8EA7F #CAF87F #8DF87F
triadic
#CAF87F #7FCAF8 #F87FCA
tetradic
#CAF87F #7FF8EA #AD7FF8 #F87F8D
square
#CAF87F #7FF8EA #AD7FF8 #F87F8D
split-complementary
#CAF87F #7F8DF8 #EA7FF8
monochromatic
#99F00D #B2F545 #CAF87F #E2FBB9 #F3FDE2

Accessibility & contrast

On white

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

On black

17.24
#CAF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF87F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF87F#FFFFFF#000000##000000
##CAF87F1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf87f;
/* rgb */ color: rgb(202, 248, 127);
/* oklch */ color: oklch(92.1% 0.157 126.5);
Tailwind
colors: {
  custom: {
    50: '#dcfaa6',
    500: '#caf87f',
    950: '#000000',
  },
}
SCSS
$custom: #caf87f;
$custom-light: #dcfaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#caf87f",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 82.81,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92144,
    "c": 0.15722,
    "h": 126.5
  },
  "luminance": 0.81224
}

Semantic roles & 50–950 ramp

primary
#CAF87F
secondary
#7D46D5
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CAF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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