#CAC960#CAC960

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

Color values

HEX#CAC960
RGBrgb(202, 201, 96)
HSLhsl(59, 50%, 58%)
HSVhsv(59, 52%, 79%)
CMYKcmyk(0%, 0.5%, 52.5%, 20.8%)
CIE-LABlab(79.14, -13.71, 51.85)
CIE-LCHlch(79.14, 53.63, 104.81°)
OKLaboklab(81.54% -0.0405 0.1215)
OKLCHoklch(81.54% 0.128 108.4)
XYZxyz(47.3563, 55.1756, 19.2194)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC960 #6061CA
analogous
#CA9460 #CAC960 #96CA60
triadic
#CAC960 #60CAC9 #C960CA
tetradic
#CAC960 #60CA94 #6061CA #CA6096
square
#CAC960 #60CA94 #6061CA #CA6096
split-complementary
#CAC960 #6096CA #9460CA
monochromatic
#84832C #B2B03B #CAC960 #D9D98E #E9E8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC960#FFFFFF#000000##000000
##CAC9601.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C256
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#D6BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac960;
/* rgb */ color: rgb(202, 201, 96);
/* oklch */ color: oklch(81.5% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#dcd990',
    500: '#cac960',
    950: '#000000',
  },
}
SCSS
$custom: #cac960;
$custom-light: #dcd990;
$custom-dark: #000000;
JSON
{
  "hex": "#cac960",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 59.434,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81544,
    "c": 0.12802,
    "h": 108.4
  },
  "luminance": 0.55174
}

Semantic roles & 50–950 ramp

primary
#CAC960
secondary
#43448B
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC960

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

Preview Lab → · Contrast checker → · Palette generator →

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