#CAFE8A#CAFE8A

#CAFE8A is a very light, vivid yellow-green. Relative luminance 0.853; OKLCH L 93.6% C 0.155 H 128.8°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#CAFE8A
RGBrgb(202, 254, 138)
HSLhsl(87, 98%, 77%)
HSVhsv(87, 46%, 100%)
CMYKcmyk(20.5%, 0%, 45.7%, 0.4%)
CIE-LABlab(94.00, -35.02, 49.96)
CIE-LCHlch(94.00, 61.01, 125.03°)
OKLaboklab(93.61% -0.097 0.1205)
OKLCHoklch(93.61% 0.155 128.8)
XYZxyz(64.3858, 85.2741, 37.1072)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE8A #BE8AFE
analogous
#FEF88A #CAFE8A #90FE8A
triadic
#CAFE8A #8ACAFE #FE8ACA
tetradic
#CAFE8A #8AFEF8 #BE8AFE #FE8A90
square
#CAFE8A #8AFEF8 #BE8AFE #FE8A90
split-complementary
#CAFE8A #8A90FE #F88AFE
monochromatic
#93FD11 #AFFD4D #CAFE8A #E5FFC7 #F1FFE1

Accessibility & contrast

On white

1.16
#CAFE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#CAFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE8A
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE8A#FFFFFF#000000##000000
##CAFE8A1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF080
Deuteranopia (green-blind)
#FFED91
Tritanopia (blue-blind)
#CEF5E3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #cafe8a;
/* rgb */ color: rgb(202, 254, 138);
/* oklch */ color: oklch(93.6% 0.155 128.8);
Tailwind
colors: {
  custom: {
    50: '#dcffae',
    500: '#cafe8a',
    950: '#000000',
  },
}
SCSS
$custom: #cafe8a;
$custom-light: #dcffae;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe8a",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 86.897,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93614,
    "c": 0.15472,
    "h": 128.8
  },
  "luminance": 0.85275
}

Semantic roles & 50–950 ramp

primary
#CAFE8A
secondary
#8F4EDE
accent
#00E667
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151810
muted
#848681

Preview Lab

Preview with #CAFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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