#CAF879#CAF879

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

Color values

HEX#CAF879
RGBrgb(202, 248, 121)
HSLhsl(82, 90%, 72%)
HSVhsv(82, 51%, 97%)
CMYKcmyk(18.5%, 0%, 51.2%, 2.7%)
CIE-LABlab(92.16, -34.05, 55.63)
CIE-LCHlch(92.16, 65.22, 121.47°)
OKLaboklab(92.07% -0.0955 0.1319)
OKLCHoklch(92.07% 0.163 125.9)
XYZxyz(61.3756, 81.0712, 30.5003)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF879 #A779F8
analogous
#F8E679 #CAF879 #8BF879
triadic
#CAF879 #79CAF8 #F879CA
tetradic
#CAF879 #79F8E6 #A779F8 #F8798B
square
#CAF879 #79F8E6 #A779F8 #F8798B
split-complementary
#CAF879 #798BF8 #E679F8
monochromatic
#9AEA0C #B3F53F #CAF879 #E1FBB3 #F3FDE2

Accessibility & contrast

On white

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

On black

17.21
#CAF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF879
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF879#FFFFFF#000000##000000
##CAF8791.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6D
Deuteranopia (green-blind)
#FDE881
Tritanopia (blue-blind)
#D1EEDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf879;
/* rgb */ color: rgb(202, 248, 121);
/* oklch */ color: oklch(92.1% 0.163 125.9);
Tailwind
colors: {
  custom: {
    50: '#dcfaa3',
    500: '#caf879',
    950: '#000000',
  },
}
SCSS
$custom: #caf879;
$custom-light: #dcfaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#caf879",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 81.732,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92068,
    "c": 0.16287,
    "h": 125.9
  },
  "luminance": 0.81072
}

Semantic roles & 50–950 ramp

primary
#CAF879
secondary
#7641D4
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF879

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

Preview Lab → · Contrast checker → · Palette generator →

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