#CAC660#CAC660

#CAC660 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.125 H 106.8°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CAC660
RGBrgb(202, 198, 96)
HSLhsl(58, 50%, 58%)
HSVhsv(58, 52%, 79%)
CMYKcmyk(0%, 2%, 52.5%, 20.8%)
CIE-LABlab(78.34, -12.19, 50.91)
CIE-LCHlch(78.34, 52.35, 103.47°)
OKLaboklab(80.9% -0.0361 0.1194)
OKLCHoklch(80.9% 0.125 106.8)
XYZxyz(46.6638, 53.7906, 18.9886)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC660 #6064CA
analogous
#CA9160 #CAC660 #99CA60
triadic
#CAC660 #60CAC6 #C660CA
tetradic
#CAC660 #60CA91 #6064CA #CA6099
square
#CAC660 #60CA91 #6064CA #CA6099
split-complementary
#CAC660 #6099CA #9160CA
monochromatic
#84802C #B2AD3B #CAC660 #D9D68E #E9E7BC

Accessibility & contrast

On white

1.79
#CAC660 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CAC660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC660
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC660#FFFFFF#000000##000000
##CAC6601.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D7C465
Tritanopia (blue-blind)
#D7BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac660;
/* rgb */ color: rgb(202, 198, 96);
/* oklch */ color: oklch(80.9% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#dcd790',
    500: '#cac660',
    950: '#000000',
  },
}
SCSS
$custom: #cac660;
$custom-light: #dcd790;
$custom-dark: #000000;
JSON
{
  "hex": "#cac660",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 96
  },
  "hsl": {
    "h": 57.736,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80904,
    "c": 0.12478,
    "h": 106.8
  },
  "luminance": 0.53789
}

Semantic roles & 50–950 ramp

primary
#CAC660
secondary
#43468B
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC660

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

Preview Lab → · Contrast checker → · Palette generator →

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