#CAFC78#CAFC78

#CAFC78 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 92.9% C 0.169 H 126.7°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#CAFC78
RGBrgb(202, 252, 120)
HSLhsl(83, 96%, 73%)
HSVhsv(83, 52%, 99%)
CMYKcmyk(19.8%, 0%, 52.4%, 1.2%)
CIE-LABlab(93.25, -35.97, 57.36)
CIE-LCHlch(93.25, 67.71, 122.09°)
OKLaboklab(92.94% -0.101 0.1356)
OKLCHoklch(92.94% 0.169 126.7)
XYZxyz(62.5575, 83.5326, 30.5933)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC78 #AA78FC
analogous
#FCEC78 #CAFC78 #88FC78
triadic
#CAFC78 #78CAFC #FC78CA
tetradic
#CAFC78 #78FCEC #AA78FC #FC7888
square
#CAFC78 #78FCEC #AA78FC #FC7888
split-complementary
#CAFC78 #7888FC #EC78FC
monochromatic
#9AF405 #B2FB3C #CAFC78 #E2FDB4 #F3FEE1

Accessibility & contrast

On white

1.19
#CAFC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#CAFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC78
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC78#FFFFFF#000000##000000
##CAFC781.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6B
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#D0F2DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cafc78;
/* rgb */ color: rgb(202, 252, 120);
/* oklch */ color: oklch(92.9% 0.169 126.7);
Tailwind
colors: {
  custom: {
    50: '#dcfda2',
    500: '#cafc78',
    950: '#000000',
  },
}
SCSS
$custom: #cafc78;
$custom-light: #dcfda2;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc78",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 82.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92938,
    "c": 0.16906,
    "h": 126.7
  },
  "luminance": 0.83533
}

Semantic roles & 50–950 ramp

primary
#CAFC78
secondary
#793FD9
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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