#CAF87E#CAF87E

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

Color values

HEX#CAF87E
RGBrgb(202, 248, 126)
HSLhsl(83, 90%, 73%)
HSVhsv(83, 49%, 97%)
CMYKcmyk(18.5%, 0%, 49.2%, 2.7%)
CIE-LABlab(92.22, -33.55, 53.40)
CIE-LCHlch(92.22, 63.06, 122.15°)
OKLaboklab(92.13% -0.0938 0.1274)
OKLCHoklch(92.13% 0.158 126.4)
XYZxyz(61.6902, 81.1970, 32.1571)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF87E #AC7EF8
analogous
#F8E97E #CAF87E #8DF87E
triadic
#CAF87E #7ECAF8 #F87ECA
tetradic
#CAF87E #7EF8E9 #AC7EF8 #F87E8D
square
#CAF87E #7EF8E9 #AC7EF8 #F87E8D
split-complementary
#CAF87E #7E8DF8 #E97EF8
monochromatic
#9AEF0D #B2F544 #CAF87E #E2FBB8 #F3FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF87E#FFFFFF#000000##000000
##CAF87E1.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)
#FFEA73
Deuteranopia (green-blind)
#FCE885
Tritanopia (blue-blind)
#D0EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf87e;
/* rgb */ color: rgb(202, 248, 126);
/* oklch */ color: oklch(92.1% 0.158 126.4);
Tailwind
colors: {
  custom: {
    50: '#dcfaa6',
    500: '#caf87e',
    950: '#000000',
  },
}
SCSS
$custom: #caf87e;
$custom-light: #dcfaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#caf87e",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 82.623,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92131,
    "c": 0.15817,
    "h": 126.4
  },
  "luminance": 0.81198
}

Semantic roles & 50–950 ramp

primary
#CAF87E
secondary
#7C46D5
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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