#CAF979#CAF979

#CAF979 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.164 H 126.1°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CAF979
RGBrgb(202, 249, 121)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.9%, 0%, 51.4%, 2.4%)
CIE-LABlab(92.44, -34.51, 55.95)
CIE-LCHlch(92.44, 65.74, 121.66°)
OKLaboklab(92.29% -0.0968 0.1326)
OKLCHoklch(92.29% 0.164 126.1)
XYZxyz(61.6839, 81.6877, 30.6030)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF979 #A879F9
analogous
#F9E879 #CAF979 #8AF979
triadic
#CAF979 #79CAF9 #F979CA
tetradic
#CAF979 #79F9E8 #A879F9 #F9798A
square
#CAF979 #79F9E8 #A879F9 #F9798A
split-complementary
#CAF979 #798AF9 #E879F9
monochromatic
#9AED0B #B3F63E #CAF979 #E1FCB4 #F3FEE2

Accessibility & contrast

On white

1.21
#CAF979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#CAF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF979
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF979#FFFFFF#000000##000000
##CAF9791.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FEE981
Tritanopia (blue-blind)
#D1EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #caf979;
/* rgb */ color: rgb(202, 249, 121);
/* oklch */ color: oklch(92.3% 0.164 126.1);
Tailwind
colors: {
  custom: {
    50: '#dcfba3',
    500: '#caf979',
    950: '#000000',
  },
}
SCSS
$custom: #caf979;
$custom-light: #dcfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#caf979",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 82.031,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92288,
    "c": 0.16418,
    "h": 126.1
  },
  "luminance": 0.81688
}

Semantic roles & 50–950 ramp

primary
#CAF979
secondary
#7741D5
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF979

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

Preview Lab → · Contrast checker → · Palette generator →

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