#CAFB76#CAFB76

#CAFB76 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.7% C 0.170 H 126.3°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#CAFB76
RGBrgb(202, 251, 118)
HSLhsl(82, 94%, 72%)
HSVhsv(82, 53%, 98%)
CMYKcmyk(19.5%, 0%, 53%, 1.6%)
CIE-LABlab(92.95, -35.70, 57.92)
CIE-LCHlch(92.95, 68.03, 121.65°)
OKLaboklab(92.69% -0.1004 0.1366)
OKLCHoklch(92.69% 0.17 126.3)
XYZxyz(62.1242, 82.8582, 29.8563)
Luminance0.8286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB76 #A776FB
analogous
#FBE976 #CAFB76 #88FB76
triadic
#CAFB76 #76CAFB #FB76CA
tetradic
#CAFB76 #76FBE9 #A776FB #FB7688
square
#CAFB76 #76FBE9 #A776FB #FB7688
split-complementary
#CAFB76 #7688FB #E976FB
monochromatic
#9AF007 #B3F93B #CAFB76 #E1FDB1 #F3FEE1

Accessibility & contrast

On white

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

On black

17.57
#CAFB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB76
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB76#FFFFFF#000000##000000
##CAFB761.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED69
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#D1F1DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafb76;
/* rgb */ color: rgb(202, 251, 118);
/* oklch */ color: oklch(92.7% 0.170 126.3);
Tailwind
colors: {
  custom: {
    50: '#dcfca1',
    500: '#cafb76',
    950: '#000000',
  },
}
SCSS
$custom: #cafb76;
$custom-light: #dcfca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb76",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 118
  },
  "hsl": {
    "h": 82.105,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92694,
    "c": 0.16954,
    "h": 126.3
  },
  "luminance": 0.82859
}

Semantic roles & 50–950 ramp

primary
#CAFB76
secondary
#763ED7
accent
#00E655
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAFB76

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

Preview Lab → · Contrast checker → · Palette generator →

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