#CAF878#CAF878

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

Color values

HEX#CAF878
RGBrgb(202, 248, 120)
HSLhsl(82, 90%, 72%)
HSVhsv(82, 52%, 97%)
CMYKcmyk(18.5%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.15, -34.15, 56.07)
CIE-LCHlch(92.15, 65.65, 121.34°)
OKLaboklab(92.06% -0.0959 0.1328)
OKLCHoklch(92.06% 0.164 125.8)
XYZxyz(61.3146, 81.0468, 30.1790)
Luminance0.8105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF878 #A678F8
analogous
#F8E678 #CAF878 #8AF878
triadic
#CAF878 #78CAF8 #F878CA
tetradic
#CAF878 #78F8E6 #A678F8 #F8788A
square
#CAF878 #78F8E6 #A678F8 #F8788A
split-complementary
#CAF878 #788AF8 #E678F8
monochromatic
#9AE90C #B3F53E #CAF878 #E1FBB2 #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF878#FFFFFF#000000##000000
##CAF8781.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)
#FFEA6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#D1EEDB
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #caf878;
/* rgb */ color: rgb(202, 248, 120);
/* oklch */ color: oklch(92.1% 0.164 125.8);
Tailwind
colors: {
  custom: {
    50: '#dcfaa2',
    500: '#caf878',
    950: '#000000',
  },
}
SCSS
$custom: #caf878;
$custom-light: #dcfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#caf878",
  "rgb": {
    "r": 202,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 81.563,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92056,
    "c": 0.16378,
    "h": 125.8
  },
  "luminance": 0.81047
}

Semantic roles & 50–950 ramp

primary
#CAF878
secondary
#7540D4
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF878

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

Preview Lab → · Contrast checker → · Palette generator →

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