#CAFA79#CAFA79

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

Color values

HEX#CAFA79
RGBrgb(202, 250, 121)
HSLhsl(82, 93%, 73%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(19.2%, 0%, 51.6%, 2%)
CIE-LABlab(92.71, -34.96, 56.28)
CIE-LCHlch(92.71, 66.25, 121.85°)
OKLaboklab(92.51% -0.0981 0.1333)
OKLCHoklch(92.51% 0.166 126.3)
XYZxyz(61.9938, 82.3075, 30.7063)
Luminance0.8231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA79 #A979FA
analogous
#FAEA79 #CAFA79 #89FA79
triadic
#CAFA79 #79CAFA #FA79CA
tetradic
#CAFA79 #79FAEA #A979FA #FA7989
square
#CAFA79 #79FAEA #A979FA #FA7989
split-complementary
#CAFA79 #7989FA #EA79FA
monochromatic
#9AF009 #B3F83E #CAFA79 #E1FCB4 #F3FEE2

Accessibility & contrast

On white

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

On black

17.46
#CAFA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA79
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA79#FFFFFF#000000##000000
##CAFA791.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFE981
Tritanopia (blue-blind)
#D0F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa79;
/* rgb */ color: rgb(202, 250, 121);
/* oklch */ color: oklch(92.5% 0.166 126.3);
Tailwind
colors: {
  custom: {
    50: '#dcfca3',
    500: '#cafa79',
    950: '#000000',
  },
}
SCSS
$custom: #cafa79;
$custom-light: #dcfca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa79",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 82.326,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92509,
    "c": 0.1655,
    "h": 126.3
  },
  "luminance": 0.82308
}

Semantic roles & 50–950 ramp

primary
#CAFA79
secondary
#7841D7
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA79

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

Preview Lab → · Contrast checker → · Palette generator →

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