#CAFE7A#CAFE7A

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

Color values

HEX#CAFE7A
RGBrgb(202, 254, 122)
HSLhsl(84, 99%, 74%)
HSVhsv(84, 52%, 100%)
CMYKcmyk(20.5%, 0%, 52%, 0.4%)
CIE-LABlab(93.82, -36.68, 57.13)
CIE-LCHlch(93.82, 67.89, 122.70°)
OKLaboklab(93.4% -0.1028 0.1353)
OKLCHoklch(93.4% 0.17 127.2)
XYZxyz(63.3115, 84.8444, 31.4497)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFE7A #AE7AFE
analogous
#FEF07A #CAFE7A #88FE7A
triadic
#CAFE7A #7ACAFE #FE7ACA
tetradic
#CAFE7A #7AFEF0 #AE7AFE #FE7A88
square
#CAFE7A #7AFEF0 #AE7AFE #FE7A88
split-complementary
#CAFE7A #7A88FE #F07AFE
monochromatic
#99FC02 #B2FE3D #CAFE7A #E2FEB7 #F3FFE1

Accessibility & contrast

On white

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

On black

17.97
#CAFE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFE7A
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFE7A#FFFFFF#000000##000000
##CAFE7A1.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafe7a;
/* rgb */ color: rgb(202, 254, 122);
/* oklch */ color: oklch(93.4% 0.170 127.2);
Tailwind
colors: {
  custom: {
    50: '#dcffa4',
    500: '#cafe7a',
    950: '#000000',
  },
}
SCSS
$custom: #cafe7a;
$custom-light: #dcffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cafe7a",
  "rgb": {
    "r": 202,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 83.636,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93404,
    "c": 0.16988,
    "h": 127.2
  },
  "luminance": 0.84845
}

Semantic roles & 50–950 ramp

primary
#CAFE7A
secondary
#7E40DC
accent
#00E65A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15180F
muted
#848680

Preview Lab

Preview with #CAFE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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