#CAFB59#CAFB59

#CAFB59 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.4% C 0.193 H 124.5°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#CAFB59
RGBrgb(202, 251, 89)
HSLhsl(78, 95%, 67%)
HSVhsv(78, 65%, 98%)
CMYKcmyk(19.5%, 0%, 64.5%, 1.6%)
CIE-LABlab(92.69, -38.03, 69.81)
CIE-LCHlch(92.69, 79.50, 118.58°)
OKLaboklab(92.4% -0.1093 0.1589)
OKLCHoklch(92.4% 0.193 124.5)
XYZxyz(60.6579, 82.2716, 22.1336)
Luminance0.8227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB59 #8A59FB
analogous
#FBDB59 #CAFB59 #79FB59
triadic
#CAFB59 #59CAFB #FB59CA
tetradic
#CAFB59 #59FBDB #8A59FB #FB5979
square
#CAFB59 #59FBDB #8A59FB #FB5979
split-complementary
#CAFB59 #5979FB #DB59FB
monochromatic
#96D405 #B7FA1D #CAFB59 #DDFC95 #F0FED1

Accessibility & contrast

On white

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

On black

17.45
#CAFB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB59
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB59#FFFFFF#000000##000000
##CAFB591.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC43
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#D3EFDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cafb59;
/* rgb */ color: rgb(202, 251, 89);
/* oklch */ color: oklch(92.4% 0.193 124.5);
Tailwind
colors: {
  custom: {
    50: '#defc8f',
    500: '#cafb59',
    950: '#000000',
  },
}
SCSS
$custom: #cafb59;
$custom-light: #defc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb59",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 89
  },
  "hsl": {
    "h": 78.148,
    "s": 95.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92403,
    "c": 0.19285,
    "h": 124.5
  },
  "luminance": 0.82272
}

Semantic roles & 50–950 ramp

primary
#CAFB59
secondary
#5B29CF
accent
#00E645
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAFB59

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

Preview Lab → · Contrast checker → · Palette generator →

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