#CAFB68#CAFB68

#CAFB68 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.5% C 0.181 H 125.3°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CAFB68
RGBrgb(202, 251, 104)
HSLhsl(80, 95%, 70%)
HSVhsv(80, 59%, 98%)
CMYKcmyk(19.5%, 0%, 58.6%, 1.6%)
CIE-LABlab(92.82, -36.92, 63.86)
CIE-LCHlch(92.82, 73.77, 120.03°)
OKLaboklab(92.54% -0.1049 0.1481)
OKLCHoklch(92.54% 0.181 125.3)
XYZxyz(61.3532, 82.5497, 25.7954)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB68 #9968FB
analogous
#FBE368 #CAFB68 #81FB68
triadic
#CAFB68 #68CAFB #FB68CA
tetradic
#CAFB68 #68FBE3 #9968FB #FB6881
square
#CAFB68 #68FBE3 #9968FB #FB6881
split-complementary
#CAFB68 #6881FB #E368FB
monochromatic
#99E306 #B5F92C #CAFB68 #DFFDA4 #F4FEDF

Accessibility & contrast

On white

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

On black

17.51
#CAFB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB68
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB68#FFFFFF#000000##000000
##CAFB681.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafb68;
/* rgb */ color: rgb(202, 251, 104);
/* oklch */ color: oklch(92.5% 0.181 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddfc98',
    500: '#cafb68',
    950: '#000000',
  },
}
SCSS
$custom: #cafb68;
$custom-light: #ddfc98;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb68",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 104
  },
  "hsl": {
    "h": 80,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92541,
    "c": 0.18148,
    "h": 125.3
  },
  "luminance": 0.8255
}

Semantic roles & 50–950 ramp

primary
#CAFB68
secondary
#6832D6
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFB68

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

Preview Lab → · Contrast checker → · Palette generator →

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