#CACF54#CACF54

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

Color values

HEX#CACF54
RGBrgb(202, 207, 84)
HSLhsl(62, 56%, 57%)
HSVhsv(62, 59%, 81%)
CMYKcmyk(2.4%, 0%, 59.4%, 18.8%)
CIE-LABlab(80.64, -17.63, 58.92)
CIE-LCHlch(80.64, 61.50, 106.66°)
OKLaboklab(82.7% -0.0529 0.1352)
OKLCHoklch(82.7% 0.145 111.4)
XYZxyz(48.2715, 57.8234, 17.0040)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF54 #5954CF
analogous
#CF9754 #CACF54 #8DCF54
triadic
#CACF54 #54CACF #CF54CA
tetradic
#CACF54 #54CF97 #5954CF #CF548D
square
#CACF54 #54CF97 #5954CF #CF548D
split-complementary
#CACF54 #548DCF #9754CF
monochromatic
#808425 #AEB332 #CACF54 #D9DC84 #E8EAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACF54#FFFFFF#000000##000000
##CACF541.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)
#DEC646
Deuteranopia (green-blind)
#DECA5B
Tritanopia (blue-blind)
#D7C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf54;
/* rgb */ color: rgb(202, 207, 84);
/* oklch */ color: oklch(82.7% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd89',
    500: '#cacf54',
    950: '#000000',
  },
}
SCSS
$custom: #cacf54;
$custom-light: #dddd89;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf54",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 62.439,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82702,
    "c": 0.14516,
    "h": 111.4
  },
  "luminance": 0.57822
}

Semantic roles & 50–950 ramp

primary
#CACF54
secondary
#403C8B
accent
#48DF4E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CACF54

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

Preview Lab → · Contrast checker → · Palette generator →

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