#CACA45#CACA45

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

Color values

HEX#CACA45
RGBrgb(202, 202, 69)
HSLhsl(60, 56%, 53%)
HSVhsv(60, 66%, 79%)
CMYKcmyk(0%, 0%, 65.8%, 20.8%)
CIE-LABlab(79.17, -16.10, 63.54)
CIE-LCHlch(79.17, 65.55, 104.22°)
OKLaboklab(81.49% -0.0501 0.1428)
OKLCHoklch(81.49% 0.151 109.3)
XYZxyz(46.5534, 55.2286, 13.8370)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA45 #4545CA
analogous
#CA8745 #CACA45 #87CA45
triadic
#CACA45 #45CACA #CA45CA
tetradic
#CACA45 #45CA87 #4545CA #CA4587
square
#CACA45 #45CA87 #4545CA #CA4587
split-complementary
#CACA45 #4587CA #8745CA
monochromatic
#747421 #A3A32F #CACA45 #D8D875 #E5E5A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACA45#FFFFFF#000000##000000
##CACA451.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)
#DAC232
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#D8BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca45;
/* rgb */ color: rgb(202, 202, 69);
/* oklch */ color: oklch(81.5% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#ddd980',
    500: '#caca45',
    950: '#000000',
  },
}
SCSS
$custom: #caca45;
$custom-light: #ddd980;
$custom-dark: #000000;
JSON
{
  "hex": "#caca45",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81491,
    "c": 0.15132,
    "h": 109.3
  },
  "luminance": 0.55227
}

Semantic roles & 50–950 ramp

primary
#CACA45
secondary
#37377D
accent
#49DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CACA45

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

Preview Lab → · Contrast checker → · Palette generator →

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