#CAC66A#CAC66A

#CAC66A is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.115 H 106.5°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CAC66A
RGBrgb(202, 198, 106)
HSLhsl(58, 48%, 60%)
HSVhsv(58, 48%, 79%)
CMYKcmyk(0%, 2%, 47.5%, 20.8%)
CIE-LABlab(78.45, -11.31, 46.26)
CIE-LCHlch(78.45, 47.63, 103.74°)
OKLaboklab(81.03% -0.0326 0.1102)
OKLCHoklch(81.03% 0.115 106.5)
XYZxyz(47.1538, 53.9866, 21.5694)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC66A #6A6ECA
analogous
#CA966A #CAC66A #9ECA6A
triadic
#CAC66A #6ACAC6 #C66ACA
tetradic
#CAC66A #6ACA96 #6A6ECA #CA6A9E
square
#CAC66A #6ACA96 #6A6ECA #CA6A9E
split-complementary
#CAC66A #6A9ECA #966ACA
monochromatic
#898531 #B6B141 #CAC66A #DAD797 #EAE9C4

Accessibility & contrast

On white

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

On black

11.80
#CAC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC66A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC66A#FFFFFF#000000##000000
##CAC66A1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C062
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#D6BCB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac66a;
/* rgb */ color: rgb(202, 198, 106);
/* oklch */ color: oklch(81.0% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#dcd797',
    500: '#cac66a',
    950: '#000000',
  },
}
SCSS
$custom: #cac66a;
$custom-light: #dcd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cac66a",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 57.5,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81032,
    "c": 0.1149,
    "h": 106.5
  },
  "luminance": 0.53985
}

Semantic roles & 50–950 ramp

primary
#CAC66A
secondary
#484B90
accent
#31BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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