#CAC666#CAC666

#CAC666 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.119 H 106.6°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CAC666
RGBrgb(202, 198, 102)
HSLhsl(58, 49%, 60%)
HSVhsv(58, 50%, 79%)
CMYKcmyk(0%, 2%, 49.5%, 20.8%)
CIE-LABlab(78.41, -11.68, 48.14)
CIE-LCHlch(78.41, 49.54, 103.63°)
OKLaboklab(80.98% -0.034 0.114)
OKLCHoklch(80.98% 0.119 106.6)
XYZxyz(46.9506, 53.9053, 20.4993)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC666 #666ACA
analogous
#CA9466 #CAC666 #9CCA66
triadic
#CAC666 #66CAC6 #C666CA
tetradic
#CAC666 #66CA94 #666ACA #CA669C
square
#CAC666 #66CA94 #666ACA #CA669C
split-complementary
#CAC666 #669CCA #9466CA
monochromatic
#87832F #B4B03E #CAC666 #DAD793 #E9E8C1

Accessibility & contrast

On white

1.78
#CAC666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CAC666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC666
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC666#FFFFFF#000000##000000
##CAC6661.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#D6C46B
Tritanopia (blue-blind)
#D6BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac666;
/* rgb */ color: rgb(202, 198, 102);
/* oklch */ color: oklch(81.0% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#dcd794',
    500: '#cac666',
    950: '#000000',
  },
}
SCSS
$custom: #cac666;
$custom-light: #dcd794;
$custom-dark: #000000;
JSON
{
  "hex": "#cac666",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 57.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80979,
    "c": 0.11895,
    "h": 106.6
  },
  "luminance": 0.53904
}

Semantic roles & 50–950 ramp

primary
#CAC666
secondary
#46498E
accent
#55D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC666

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

Preview Lab → · Contrast checker → · Palette generator →

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