#CAFC62#CAFC62

#CAFC62 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.7% C 0.187 H 125.2°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#CAFC62
RGBrgb(202, 252, 98)
HSLhsl(79, 96%, 69%)
HSVhsv(79, 61%, 99%)
CMYKcmyk(19.8%, 0%, 61.1%, 1.2%)
CIE-LABlab(93.04, -37.84, 66.60)
CIE-LCHlch(93.04, 76.60, 119.60°)
OKLaboklab(92.7% -0.108 0.1532)
OKLCHoklch(92.7% 0.187 125.2)
XYZxyz(61.3724, 83.0586, 24.3515)
Luminance0.8306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFC62 #9462FC
analogous
#FCE162 #CAFC62 #7DFC62
triadic
#CAFC62 #62CAFC #FC62CA
tetradic
#CAFC62 #62FCE1 #9462FC #FC627D
square
#CAFC62 #62FCE1 #9462FC #FC627D
split-complementary
#CAFC62 #627DFC #E162FC
monochromatic
#98DF04 #B6FB26 #CAFC62 #DEFD9E #F3FEDA

Accessibility & contrast

On white

1.19
#CAFC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#CAFC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFC62
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFC62#FFFFFF#000000##000000
##CAFC621.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFEA6D
Tritanopia (blue-blind)
#D2F1DC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cafc62;
/* rgb */ color: rgb(202, 252, 98);
/* oklch */ color: oklch(92.7% 0.187 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfd94',
    500: '#cafc62',
    950: '#000000',
  },
}
SCSS
$custom: #cafc62;
$custom-light: #ddfd94;
$custom-dark: #000000;
JSON
{
  "hex": "#cafc62",
  "rgb": {
    "r": 202,
    "g": 252,
    "b": 98
  },
  "hsl": {
    "h": 79.481,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92704,
    "c": 0.18745,
    "h": 125.2
  },
  "luminance": 0.83059
}

Semantic roles & 50–950 ramp

primary
#CAFC62
secondary
#632CD6
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAFC62

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

Preview Lab → · Contrast checker → · Palette generator →

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