#CACA48#CACA48

#CACA48 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.149 H 109.3°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CACA48
RGBrgb(202, 202, 72)
HSLhsl(60, 55%, 54%)
HSVhsv(60, 64%, 79%)
CMYKcmyk(0%, 0%, 64.4%, 20.8%)
CIE-LABlab(79.19, -15.92, 62.37)
CIE-LCHlch(79.19, 64.37, 104.32°)
OKLaboklab(81.52% -0.0493 0.1408)
OKLCHoklch(81.52% 0.149 109.3)
XYZxyz(46.6489, 55.2668, 14.3399)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA48 #4848CA
analogous
#CA8948 #CACA48 #89CA48
triadic
#CACA48 #48CACA #CA48CA
tetradic
#CACA48 #48CA89 #4848CA #CA4889
square
#CACA48 #48CA89 #4848CA #CA4889
split-complementary
#CACA48 #4889CA #8948CA
monochromatic
#767622 #A5A530 #CACA48 #D8D877 #E5E5A7

Accessibility & contrast

On white

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

On black

12.05
#CACA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA48
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA48#FFFFFF#000000##000000
##CACA481.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca48;
/* rgb */ color: rgb(202, 202, 72);
/* oklch */ color: oklch(81.5% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#ddd982',
    500: '#caca48',
    950: '#000000',
  },
}
SCSS
$custom: #caca48;
$custom-light: #ddd982;
$custom-dark: #000000;
JSON
{
  "hex": "#caca48",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81516,
    "c": 0.14918,
    "h": 109.3
  },
  "luminance": 0.55265
}

Semantic roles & 50–950 ramp

primary
#CACA48
secondary
#38387E
accent
#49DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACA48

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

Preview Lab → · Contrast checker → · Palette generator →

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