#CAF978#CAF978

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

Color values

HEX#CAF978
RGBrgb(202, 249, 120)
HSLhsl(82, 91%, 72%)
HSVhsv(82, 52%, 98%)
CMYKcmyk(18.9%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.43, -34.60, 56.39)
CIE-LCHlch(92.43, 66.16, 121.53°)
OKLaboklab(92.28% -0.0972 0.1335)
OKLCHoklch(92.28% 0.165 126)
XYZxyz(61.6229, 81.6633, 30.2817)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF978 #A778F9
analogous
#F9E778 #CAF978 #8AF978
triadic
#CAF978 #78CAF9 #F978CA
tetradic
#CAF978 #78F9E7 #A778F9 #F9788A
square
#CAF978 #78F9E7 #A778F9 #F9788A
split-complementary
#CAF978 #788AF9 #E778F9
monochromatic
#9AEC0A #B3F63D #CAF978 #E1FCB3 #F3FEE2

Accessibility & contrast

On white

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

On black

17.33
#CAF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF978
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF978#FFFFFF#000000##000000
##CAF9781.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caf978;
/* rgb */ color: rgb(202, 249, 120);
/* oklch */ color: oklch(92.3% 0.165 126.0);
Tailwind
colors: {
  custom: {
    50: '#dcfba2',
    500: '#caf978',
    950: '#000000',
  },
}
SCSS
$custom: #caf978;
$custom-light: #dcfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#caf978",
  "rgb": {
    "r": 202,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 81.86,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92276,
    "c": 0.1651,
    "h": 126
  },
  "luminance": 0.81664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAF978

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

Preview Lab → · Contrast checker → · Palette generator →

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