#CAFB6C#CAFB6C

#CAFB6C is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.6% C 0.178 H 125.6°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CAFB6C
RGBrgb(202, 251, 108)
HSLhsl(81, 95%, 70%)
HSVhsv(81, 57%, 98%)
CMYKcmyk(19.5%, 0%, 57%, 1.6%)
CIE-LABlab(92.85, -36.59, 62.20)
CIE-LCHlch(92.85, 72.16, 120.47°)
OKLaboklab(92.58% -0.1037 0.1449)
OKLCHoklch(92.58% 0.178 125.6)
XYZxyz(61.5612, 82.6329, 26.8909)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB6C #9D6CFB
analogous
#FBE46C #CAFB6C #83FB6C
triadic
#CAFB6C #6CCAFB #FB6CCA
tetradic
#CAFB6C #6CFBE4 #9D6CFB #FB6C83
square
#CAFB6C #6CFBE4 #9D6CFB #FB6C83
split-complementary
#CAFB6C #6C83FB #E46CFB
monochromatic
#9AE606 #B5F930 #CAFB6C #DFFDA8 #F4FEE1

Accessibility & contrast

On white

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

On black

17.53
#CAFB6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB6C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB6C#FFFFFF#000000##000000
##CAFB6C1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafb6c;
/* rgb */ color: rgb(202, 251, 108);
/* oklch */ color: oklch(92.6% 0.178 125.6);
Tailwind
colors: {
  custom: {
    50: '#ddfc9b',
    500: '#cafb6c',
    950: '#000000',
  },
}
SCSS
$custom: #cafb6c;
$custom-light: #ddfc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb6c",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 108
  },
  "hsl": {
    "h": 80.559,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92582,
    "c": 0.17819,
    "h": 125.6
  },
  "luminance": 0.82634
}

Semantic roles & 50–950 ramp

primary
#CAFB6C
secondary
#6C35D6
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFB6C

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

Preview Lab → · Contrast checker → · Palette generator →

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