#CAFA8D#CAFA8D

#CAFA8D is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.146 H 128.4°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#CAFA8D
RGBrgb(202, 250, 141)
HSLhsl(86, 92%, 77%)
HSVhsv(86, 44%, 98%)
CMYKcmyk(19.2%, 0%, 43.6%, 2%)
CIE-LABlab(92.95, -32.85, 47.22)
CIE-LCHlch(92.95, 57.52, 124.83°)
OKLaboklab(92.78% -0.0908 0.1145)
OKLCHoklch(92.78% 0.146 128.4)
XYZxyz(63.3498, 82.8499, 37.8482)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA8D #BD8DFA
analogous
#FAF48D #CAFA8D #94FA8D
triadic
#CAFA8D #8DCAFA #FA8DCA
tetradic
#CAFA8D #8DFAF4 #BD8DFA #FA8D94
square
#CAFA8D #8DFAF4 #BD8DFA #FA8D94
split-complementary
#CAFA8D #8D94FA #F48DFA
monochromatic
#93F518 #AFF752 #CAFA8D #E5FDC8 #F1FEE2

Accessibility & contrast

On white

1.20
#CAFA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#CAFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA8D
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA8D#FFFFFF#000000##000000
##CAFA8D1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED84
Deuteranopia (green-blind)
#FDEA93
Tritanopia (blue-blind)
#CEF1E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafa8d;
/* rgb */ color: rgb(202, 250, 141);
/* oklch */ color: oklch(92.8% 0.146 128.4);
Tailwind
colors: {
  custom: {
    50: '#dcfcb0',
    500: '#cafa8d',
    950: '#000000',
  },
}
SCSS
$custom: #cafa8d;
$custom-light: #dcfcb0;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa8d",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 86.422,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92778,
    "c": 0.14615,
    "h": 128.4
  },
  "luminance": 0.82851
}

Semantic roles & 50–950 ramp

primary
#CAFA8D
secondary
#8E52D9
accent
#00E665
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CAFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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