#CAFE7D#CAFE7D

#CAFE7D is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.4% C 0.167 H 127.5°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#CAFE7D
RGBrgb(202, 254, 125)
HSLhsl(84, 98%, 74%)
HSVhsv(84, 51%, 100%)
CMYKcmyk(20.5%, 0%, 50.8%, 0.4%)
CIE-LABlab(93.85, -36.38, 55.81)
CIE-LCHlch(93.85, 66.62, 123.10°)
OKLaboklab(93.44% -0.1017 0.1326)
OKLCHoklch(93.44% 0.167 127.5)
XYZxyz(63.5003, 84.9199, 32.4438)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE7D #B17DFE
analogous
#FEF17D #CAFE7D #8AFE7D
triadic
#CAFE7D #7DCAFE #FE7DCA
tetradic
#CAFE7D #7DFEF1 #B17DFE #FE7D8A
square
#CAFE7D #7DFEF1 #B17DFE #FE7D8A
split-complementary
#CAFE7D #7D8AFE #F17DFE
monochromatic
#98FD04 #B1FE40 #CAFE7D #E3FEBA #F3FFE1

Accessibility & contrast

On white

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

On black

17.98
#CAFE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE7D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE7D#FFFFFF#000000##000000
##CAFE7D1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF071
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#D0F4E1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #cafe7d;
/* rgb */ color: rgb(202, 254, 125);
/* oklch */ color: oklch(93.4% 0.167 127.5);
Tailwind
colors: {
  custom: {
    50: '#dcffa5',
    500: '#cafe7d',
    950: '#000000',
  },
}
SCSS
$custom: #cafe7d;
$custom-light: #dcffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe7d",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 125
  },
  "hsl": {
    "h": 84.186,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93441,
    "c": 0.16713,
    "h": 127.5
  },
  "luminance": 0.84921
}

Semantic roles & 50–950 ramp

primary
#CAFE7D
secondary
#8143DC
accent
#00E65D
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15180F
muted
#848680

Preview Lab

Preview with #CAFE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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