#CAFB61#CAFB61

#CAFB61 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.5% C 0.187 H 124.9°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CAFB61
RGBrgb(202, 251, 97)
HSLhsl(79, 95%, 68%)
HSVhsv(79, 61%, 98%)
CMYKcmyk(19.5%, 0%, 61.4%, 1.6%)
CIE-LABlab(92.76, -37.46, 66.70)
CIE-LCHlch(92.76, 76.50, 119.32°)
OKLaboklab(92.47% -0.1071 0.1533)
OKLCHoklch(92.47% 0.187 124.9)
XYZxyz(61.0122, 82.4134, 24.0000)
Luminance0.8241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFB61 #9261FB
analogous
#FBDF61 #CAFB61 #7DFB61
triadic
#CAFB61 #61CAFB #FB61CA
tetradic
#CAFB61 #61FBDF #9261FB #FB617D
square
#CAFB61 #61FBDF #9261FB #FB617D
split-complementary
#CAFB61 #617DFB #DF61FB
monochromatic
#98DC06 #B6F925 #CAFB61 #DEFD9D #F2FED8

Accessibility & contrast

On white

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

On black

17.48
#CAFB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFB61
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFB61#FFFFFF#000000##000000
##CAFB611.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cafb61;
/* rgb */ color: rgb(202, 251, 97);
/* oklch */ color: oklch(92.5% 0.187 124.9);
Tailwind
colors: {
  custom: {
    50: '#ddfc94',
    500: '#cafb61',
    950: '#000000',
  },
}
SCSS
$custom: #cafb61;
$custom-light: #ddfc94;
$custom-dark: #000000;
JSON
{
  "hex": "#cafb61",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 97
  },
  "hsl": {
    "h": 79.091,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92473,
    "c": 0.18699,
    "h": 124.9
  },
  "luminance": 0.82414
}

Semantic roles & 50–950 ramp

primary
#CAFB61
secondary
#612CD5
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFB61

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

Preview Lab → · Contrast checker → · Palette generator →

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