#CACF52#CACF52

#CACF52 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.7% C 0.147 H 111.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CACF52
RGBrgb(202, 207, 82)
HSLhsl(62, 57%, 57%)
HSVhsv(62, 60%, 81%)
CMYKcmyk(2.4%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.62, -17.77, 59.75)
CIE-LCHlch(80.62, 62.34, 106.56°)
OKLaboklab(82.68% -0.0535 0.1367)
OKLCHoklch(82.68% 0.147 111.4)
XYZxyz(48.1942, 57.7925, 16.5973)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF52 #5752CF
analogous
#CF9652 #CACF52 #8CCF52
triadic
#CACF52 #52CACF #CF52CA
tetradic
#CACF52 #52CF96 #5752CF #CF528C
square
#CACF52 #52CF96 #5752CF #CF528C
split-complementary
#CACF52 #528CCF #9652CF
monochromatic
#7F8224 #ADB231 #CACF52 #D9DC82 #E7EAB2

Accessibility & contrast

On white

1.67
#CACF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CACF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF52
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF52#FFFFFF#000000##000000
##CACF521.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#D7C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf52;
/* rgb */ color: rgb(202, 207, 82);
/* oklch */ color: oklch(82.7% 0.147 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd88',
    500: '#cacf52',
    950: '#000000',
  },
}
SCSS
$custom: #cacf52;
$custom-light: #dddd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf52",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 62.4,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.14679,
    "h": 111.4
  },
  "luminance": 0.57791
}

Semantic roles & 50–950 ramp

primary
#CACF52
secondary
#3F3C8A
accent
#48E04E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CACF52

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

Preview Lab → · Contrast checker → · Palette generator →

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