#CAFA77#CAFA77

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

Color values

HEX#CAFA77
RGBrgb(202, 250, 119)
HSLhsl(82, 93%, 72%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(19.2%, 0%, 52.4%, 2%)
CIE-LABlab(92.69, -35.15, 57.16)
CIE-LCHlch(92.69, 67.10, 121.59°)
OKLaboklab(92.49% -0.0988 0.1351)
OKLCHoklch(92.49% 0.167 126.2)
XYZxyz(61.8724, 82.2590, 30.0671)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA77 #A777FA
analogous
#FAE977 #CAFA77 #88FA77
triadic
#CAFA77 #77CAFA #FA77CA
tetradic
#CAFA77 #77FAE9 #A777FA #FA7788
square
#CAFA77 #77FAE9 #A777FA #FA7788
split-complementary
#CAFA77 #7788FA #E977FA
monochromatic
#9AEE09 #B3F83C #CAFA77 #E1FCB2 #F3FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAFA77#FFFFFF#000000##000000
##CAFA771.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)
#FFEC6B
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#D1F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa77;
/* rgb */ color: rgb(202, 250, 119);
/* oklch */ color: oklch(92.5% 0.167 126.2);
Tailwind
colors: {
  custom: {
    50: '#dcfca1',
    500: '#cafa77',
    950: '#000000',
  },
}
SCSS
$custom: #cafa77;
$custom-light: #dcfca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa77",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 119
  },
  "hsl": {
    "h": 81.985,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92485,
    "c": 0.16733,
    "h": 126.2
  },
  "luminance": 0.8226
}

Semantic roles & 50–950 ramp

primary
#CAFA77
secondary
#763FD6
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA77

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

Preview Lab → · Contrast checker → · Palette generator →

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