#CAFE78#CAFE78

#CAFE78 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.4% C 0.172 H 127.1°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#CAFE78
RGBrgb(202, 254, 120)
HSLhsl(83, 99%, 73%)
HSVhsv(83, 53%, 100%)
CMYKcmyk(20.5%, 0%, 52.8%, 0.4%)
CIE-LABlab(93.79, -36.87, 58.01)
CIE-LCHlch(93.79, 68.73, 122.44°)
OKLaboklab(93.38% -0.1035 0.137)
OKLCHoklch(93.38% 0.172 127.1)
XYZxyz(63.1889, 84.7953, 30.8037)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE78 #AC78FE
analogous
#FEEF78 #CAFE78 #87FE78
triadic
#CAFE78 #78CAFE #FE78CA
tetradic
#CAFE78 #78FEEF #AC78FE #FE7887
square
#CAFE78 #78FEEF #AC78FE #FE7887
split-complementary
#CAFE78 #7887FE #EF78FE
monochromatic
#9AFA02 #B2FE3B #CAFE78 #E2FEB5 #F3FFE1

Accessibility & contrast

On white

1.17
#CAFE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#CAFE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE78
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE78#FFFFFF#000000##000000
##CAFE781.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6B
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#D0F4E0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #cafe78;
/* rgb */ color: rgb(202, 254, 120);
/* oklch */ color: oklch(93.4% 0.172 127.1);
Tailwind
colors: {
  custom: {
    50: '#ddffa2',
    500: '#cafe78',
    950: '#000000',
  },
}
SCSS
$custom: #cafe78;
$custom-light: #ddffa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe78",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 120
  },
  "hsl": {
    "h": 83.284,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9338,
    "c": 0.17168,
    "h": 127.1
  },
  "luminance": 0.84796
}

Semantic roles & 50–950 ramp

primary
#CAFE78
secondary
#7C3FDC
accent
#00E659
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15180F
muted
#848680

Preview Lab

Preview with #CAFE78

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

Preview Lab → · Contrast checker → · Palette generator →

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