#CACA3A#CACA3A

#CACA3A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.4% C 0.158 H 109.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CACA3A
RGBrgb(202, 202, 58)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 79%)
CMYKcmyk(0%, 0%, 71.3%, 20.8%)
CIE-LABlab(79.10, -16.67, 67.54)
CIE-LCHlch(79.10, 69.57, 103.86°)
OKLaboklab(81.41% -0.0528 0.1494)
OKLCHoklch(81.41% 0.158 109.5)
XYZxyz(46.2430, 55.1045, 12.2025)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA3A #3A3ACA
analogous
#CA823A #CACA3A #82CA3A
triadic
#CACA3A #3ACACA #CA3ACA
tetradic
#CACA3A #3ACA82 #3A3ACA #CA3A82
square
#CACA3A #3ACA82 #3A3ACA #CA3A82
split-complementary
#CACA3A #3A82CA #823ACA
monochromatic
#6C6C1D #9D9D2A #CACA3A #D7D76A #E4E49A

Accessibility & contrast

On white

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

On black

12.02
#CACA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA3A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA3A#FFFFFF#000000##000000
##CACA3A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11F
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D8BDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #caca3a;
/* rgb */ color: rgb(202, 202, 58);
/* oklch */ color: oklch(81.4% 0.158 109.5);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#caca3a',
    950: '#000000',
  },
}
SCSS
$custom: #caca3a;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#caca3a",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81412,
    "c": 0.15844,
    "h": 109.5
  },
  "luminance": 0.55103
}

Semantic roles & 50–950 ramp

primary
#CACA3A
secondary
#323276
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CACA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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