#CAC166#CAC166

#CAC166 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.114 H 103.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CAC166
RGBrgb(202, 193, 102)
HSLhsl(55, 49%, 60%)
HSVhsv(55, 50%, 79%)
CMYKcmyk(0%, 4.5%, 49.5%, 20.8%)
CIE-LABlab(77.08, -9.12, 46.55)
CIE-LCHlch(77.08, 47.43, 101.08°)
OKLaboklab(79.92% -0.0267 0.1105)
OKLCHoklch(79.92% 0.114 103.6)
XYZxyz(45.8266, 51.6572, 20.1247)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC166 #666FCA
analogous
#CA8F66 #CAC166 #A1CA66
triadic
#CAC166 #66CAC1 #C166CA
tetradic
#CAC166 #66CA8F #666FCA #CA66A1
square
#CAC166 #66CA8F #666FCA #CA66A1
split-complementary
#CAC166 #66A1CA #8F66CA
monochromatic
#877F2F #B4AA3E #CAC166 #DAD393 #E9E6C1

Accessibility & contrast

On white

1.85
#CAC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CAC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC166
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC166#FFFFFF#000000##000000
##CAC1661.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBC5E
Deuteranopia (green-blind)
#D2C16A
Tritanopia (blue-blind)
#D7B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac166;
/* rgb */ color: rgb(202, 193, 102);
/* oklch */ color: oklch(79.9% 0.114 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcd394',
    500: '#cac166',
    950: '#000000',
  },
}
SCSS
$custom: #cac166;
$custom-light: #dcd394;
$custom-dark: #000000;
JSON
{
  "hex": "#cac166",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 54.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.11367,
    "h": 103.6
  },
  "luminance": 0.51656
}

Semantic roles & 50–950 ramp

primary
#CAC166
secondary
#464D8E
accent
#5CD850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC166

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

Preview Lab → · Contrast checker → · Palette generator →

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