#CACA54#CACA54

#CACA54 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.140 H 109.1°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CACA54
RGBrgb(202, 202, 84)
HSLhsl(60, 53%, 56%)
HSVhsv(60, 58%, 79%)
CMYKcmyk(0%, 0%, 58.4%, 20.8%)
CIE-LABlab(79.29, -15.14, 57.44)
CIE-LCHlch(79.29, 59.40, 104.76°)
OKLaboklab(81.63% -0.0458 0.1321)
OKLCHoklch(81.63% 0.14 109.1)
XYZxyz(47.0792, 55.4390, 16.6066)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA54 #5454CA
analogous
#CA8F54 #CACA54 #8FCA54
triadic
#CACA54 #54CACA #CA54CA
tetradic
#CACA54 #54CA8F #5454CA #CA548F
square
#CACA54 #54CA8F #5454CA #CA548F
split-complementary
#CACA54 #548FCA #8F54CA
monochromatic
#7D7D27 #ACAC35 #CACA54 #D8D883 #E7E7B1

Accessibility & contrast

On white

1.74
#CACA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CACA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA54
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA54#FFFFFF#000000##000000
##CACA541.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C247
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca54;
/* rgb */ color: rgb(202, 202, 84);
/* oklch */ color: oklch(81.6% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd989',
    500: '#caca54',
    950: '#000000',
  },
}
SCSS
$custom: #caca54;
$custom-light: #ddd989;
$custom-dark: #000000;
JSON
{
  "hex": "#caca54",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81626,
    "c": 0.13977,
    "h": 109.1
  },
  "luminance": 0.55438
}

Semantic roles & 50–950 ramp

primary
#CACA54
secondary
#3D3D85
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACA54

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

Preview Lab → · Contrast checker → · Palette generator →

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