#CAFA76#CAFA76

#CAFA76 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.5% C 0.168 H 126.1°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#CAFA76
RGBrgb(202, 250, 118)
HSLhsl(82, 93%, 72%)
HSVhsv(82, 53%, 98%)
CMYKcmyk(19.2%, 0%, 52.8%, 2%)
CIE-LABlab(92.68, -35.25, 57.59)
CIE-LCHlch(92.68, 67.52, 121.47°)
OKLaboklab(92.47% -0.0991 0.1359)
OKLCHoklch(92.47% 0.168 126.1)
XYZxyz(61.8127, 82.2351, 29.7524)
Luminance0.8224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA76 #A676FA
analogous
#FAE876 #CAFA76 #88FA76
triadic
#CAFA76 #76CAFA #FA76CA
tetradic
#CAFA76 #76FAE8 #A676FA #FA7688
square
#CAFA76 #76FAE8 #A676FA #FA7688
split-complementary
#CAFA76 #7688FA #E876FA
monochromatic
#9AED09 #B3F83B #CAFA76 #E1FCB1 #F4FEE1

Accessibility & contrast

On white

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

On black

17.45
#CAFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA76
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA76#FFFFFF#000000##000000
##CAFA761.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC69
Deuteranopia (green-blind)
#FFE97E
Tritanopia (blue-blind)
#D1F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa76;
/* rgb */ color: rgb(202, 250, 118);
/* oklch */ color: oklch(92.5% 0.168 126.1);
Tailwind
colors: {
  custom: {
    50: '#dcfca1',
    500: '#cafa76',
    950: '#000000',
  },
}
SCSS
$custom: #cafa76;
$custom-light: #dcfca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa76",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 81.818,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92473,
    "c": 0.16823,
    "h": 126.1
  },
  "luminance": 0.82236
}

Semantic roles & 50–950 ramp

primary
#CAFA76
secondary
#753ED6
accent
#00E653
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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