#CAFA8A#CAFA8A

#CAFA8A is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.7% C 0.149 H 128.0°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#CAFA8A
RGBrgb(202, 250, 138)
HSLhsl(86, 92%, 76%)
HSVhsv(86, 45%, 98%)
CMYKcmyk(19.2%, 0%, 44.8%, 2%)
CIE-LABlab(92.91, -33.19, 48.60)
CIE-LCHlch(92.91, 58.85, 124.33°)
OKLaboklab(92.74% -0.0919 0.1175)
OKLCHoklch(92.74% 0.149 128)
XYZxyz(63.1296, 82.7618, 36.6885)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA8A #BA8AFA
analogous
#FAF28A #CAFA8A #92FA8A
triadic
#CAFA8A #8ACAFA #FA8ACA
tetradic
#CAFA8A #8AFAF2 #BA8AFA #FA8A92
square
#CAFA8A #8AFAF2 #BA8AFA #FA8A92
split-complementary
#CAFA8A #8A92FA #F28AFA
monochromatic
#95F515 #AFF74F #CAFA8A #E5FDC5 #F2FEE2

Accessibility & contrast

On white

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

On black

17.55
#CAFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA8A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA8A#FFFFFF#000000##000000
##CAFA8A1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED81
Deuteranopia (green-blind)
#FDEA90
Tritanopia (blue-blind)
#CFF1DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafa8a;
/* rgb */ color: rgb(202, 250, 138);
/* oklch */ color: oklch(92.7% 0.149 128.0);
Tailwind
colors: {
  custom: {
    50: '#dcfcae',
    500: '#cafa8a',
    950: '#000000',
  },
}
SCSS
$custom: #cafa8a;
$custom-light: #dcfcae;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa8a",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 85.714,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92735,
    "c": 0.14917,
    "h": 128
  },
  "luminance": 0.82763
}

Semantic roles & 50–950 ramp

primary
#CAFA8A
secondary
#8A4FD9
accent
#00E662
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CAFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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