#CAFB66#CAFB66

#CAFB66 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.5% C 0.183 H 125.2°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#CAFB66
RGBrgb(202, 251, 102)
HSLhsl(80, 95%, 69%)
HSVhsv(80, 59%, 98%)
CMYKcmyk(19.5%, 0%, 59.4%, 1.6%)
CIE-LABlab(92.80, -37.08, 64.68)
CIE-LCHlch(92.80, 74.56, 119.82°)
OKLaboklab(92.52% -0.1056 0.1496)
OKLCHoklch(92.52% 0.183 125.2)
XYZxyz(61.2528, 82.5096, 25.2667)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB66 #9766FB
analogous
#FBE266 #CAFB66 #80FB66
triadic
#CAFB66 #66CAFB #FB66CA
tetradic
#CAFB66 #66FBE2 #9766FB #FB6680
square
#CAFB66 #66FBE2 #9766FB #FB6680
split-complementary
#CAFB66 #6680FB #E266FB
monochromatic
#99E106 #B5F92A #CAFB66 #DFFDA2 #F3FEDD

Accessibility & contrast

On white

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

On black

17.50
#CAFB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB66
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB66#FFFFFF#000000##000000
##CAFB661.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFEA70
Tritanopia (blue-blind)
#D2F0DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafb66;
/* rgb */ color: rgb(202, 251, 102);
/* oklch */ color: oklch(92.5% 0.183 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfc97',
    500: '#cafb66',
    950: '#000000',
  },
}
SCSS
$custom: #cafb66;
$custom-light: #ddfc97;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb66",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 102
  },
  "hsl": {
    "h": 79.732,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92521,
    "c": 0.18309,
    "h": 125.2
  },
  "luminance": 0.8251
}

Semantic roles & 50–950 ramp

primary
#CAFB66
secondary
#6630D5
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFB66

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

Preview Lab → · Contrast checker → · Palette generator →

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