#CACA40#CACA40

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

Color values

HEX#CACA40
RGBrgb(202, 202, 64)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 68%, 79%)
CMYKcmyk(0%, 0%, 68.3%, 20.8%)
CIE-LABlab(79.14, -16.37, 65.41)
CIE-LCHlch(79.14, 67.43, 104.05°)
OKLaboklab(81.45% -0.0514 0.1459)
OKLCHoklch(81.45% 0.155 109.4)
XYZxyz(46.4047, 55.1691, 13.0538)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA40 #4040CA
analogous
#CA8540 #CACA40 #85CA40
triadic
#CACA40 #40CACA #CA40CA
tetradic
#CACA40 #40CA85 #4040CA #CA4085
square
#CACA40 #40CA85 #4040CA #CA4085
split-complementary
#CACA40 #4085CA #8540CA
monochromatic
#70701F #A0A02C #CACA40 #D7D770 #E5E5A0

Accessibility & contrast

On white

1.75
#CACA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CACA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA40
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA40#FFFFFF#000000##000000
##CACA401.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#D8BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca40;
/* rgb */ color: rgb(202, 202, 64);
/* oklch */ color: oklch(81.5% 0.155 109.4);
Tailwind
colors: {
  custom: {
    50: '#ded97d',
    500: '#caca40',
    950: '#000000',
  },
}
SCSS
$custom: #caca40;
$custom-light: #ded97d;
$custom-dark: #000000;
JSON
{
  "hex": "#caca40",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81453,
    "c": 0.15471,
    "h": 109.4
  },
  "luminance": 0.55168
}

Semantic roles & 50–950 ramp

primary
#CACA40
secondary
#35357A
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA40

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

Preview Lab → · Contrast checker → · Palette generator →

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