#CAFC77#CAFC77

#CAFC77 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 92.9% C 0.170 H 126.6°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#CAFC77
RGBrgb(202, 252, 119)
HSLhsl(83, 96%, 73%)
HSVhsv(83, 53%, 99%)
CMYKcmyk(19.8%, 0%, 52.8%, 1.2%)
CIE-LABlab(93.24, -36.06, 57.80)
CIE-LCHlch(93.24, 68.13, 121.96°)
OKLaboklab(92.93% -0.1013 0.1365)
OKLCHoklch(92.93% 0.17 126.6)
XYZxyz(62.4971, 83.5085, 30.2753)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC77 #A977FC
analogous
#FCEB77 #CAFC77 #88FC77
triadic
#CAFC77 #77CAFC #FC77CA
tetradic
#CAFC77 #77FCEB #A977FC #FC7788
square
#CAFC77 #77FCEB #A977FC #FC7788
split-complementary
#CAFC77 #7788FC #EB77FC
monochromatic
#9AF305 #B3FB3B #CAFC77 #E1FDB3 #F3FEE1

Accessibility & contrast

On white

1.19
#CAFC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#CAFC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC77
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC77#FFFFFF#000000##000000
##CAFC771.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6A
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#D0F2DE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cafc77;
/* rgb */ color: rgb(202, 252, 119);
/* oklch */ color: oklch(92.9% 0.170 126.6);
Tailwind
colors: {
  custom: {
    50: '#dcfda1',
    500: '#cafc77',
    950: '#000000',
  },
}
SCSS
$custom: #cafc77;
$custom-light: #dcfda1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc77",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 119
  },
  "hsl": {
    "h": 82.556,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92926,
    "c": 0.16995,
    "h": 126.6
  },
  "luminance": 0.83509
}

Semantic roles & 50–950 ramp

primary
#CAFC77
secondary
#783ED9
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFC77

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

Preview Lab → · Contrast checker → · Palette generator →

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