#CAFA71#CAFA71

#CAFA71 is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.4% C 0.173 H 125.7°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#CAFA71
RGBrgb(202, 250, 113)
HSLhsl(81, 93%, 71%)
HSVhsv(81, 55%, 98%)
CMYKcmyk(19.2%, 0%, 54.8%, 2%)
CIE-LABlab(92.63, -35.70, 59.76)
CIE-LCHlch(92.63, 69.61, 120.86°)
OKLaboklab(92.42% -0.1008 0.1402)
OKLCHoklch(92.42% 0.173 125.7)
XYZxyz(61.5234, 82.1193, 28.2289)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFA71 #A171FA
analogous
#FAE571 #CAFA71 #85FA71
triadic
#CAFA71 #71CAFA #FA71CA
tetradic
#CAFA71 #71FAE5 #A171FA #FA7185
square
#CAFA71 #71FAE5 #A171FA #FA7185
split-complementary
#CAFA71 #7185FA #E571FA
monochromatic
#9AE808 #B4F836 #CAFA71 #E0FCAC #F4FEE1

Accessibility & contrast

On white

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

On black

17.42
#CAFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFA71
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFA71#FFFFFF#000000##000000
##CAFA711.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D1F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafa71;
/* rgb */ color: rgb(202, 250, 113);
/* oklch */ color: oklch(92.4% 0.173 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfc9e',
    500: '#cafa71',
    950: '#000000',
  },
}
SCSS
$custom: #cafa71;
$custom-light: #ddfc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cafa71",
  "rgb": {
    "r": 202,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 81.022,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92415,
    "c": 0.17265,
    "h": 125.7
  },
  "luminance": 0.8212
}

Semantic roles & 50–950 ramp

primary
#CAFA71
secondary
#703AD5
accent
#00E650
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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