#CAC866#CAC866

#CAC866 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.121 H 107.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CAC866
RGBrgb(202, 200, 102)
HSLhsl(59, 49%, 60%)
HSVhsv(59, 50%, 79%)
CMYKcmyk(0%, 1%, 49.5%, 20.8%)
CIE-LABlab(78.94, -12.69, 48.78)
CIE-LCHlch(78.94, 50.40, 104.58°)
OKLaboklab(81.41% -0.0369 0.1154)
OKLCHoklch(81.41% 0.121 107.8)
XYZxyz(47.4108, 54.8256, 20.6527)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC866 #6668CA
analogous
#CA9666 #CAC866 #9ACA66
triadic
#CAC866 #66CAC8 #C866CA
tetradic
#CAC866 #66CA96 #6668CA #CA669A
square
#CAC866 #66CA96 #6668CA #CA669A
split-complementary
#CAC866 #669ACA #9666CA
monochromatic
#87852F #B4B23E #CAC866 #DAD893 #E9E9C1

Accessibility & contrast

On white

1.76
#CAC866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CAC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC866
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC866#FFFFFF#000000##000000
##CAC8661.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C15D
Deuteranopia (green-blind)
#D8C56B
Tritanopia (blue-blind)
#D6BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac866;
/* rgb */ color: rgb(202, 200, 102);
/* oklch */ color: oklch(81.4% 0.121 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcd894',
    500: '#cac866',
    950: '#000000',
  },
}
SCSS
$custom: #cac866;
$custom-light: #dcd894;
$custom-dark: #000000;
JSON
{
  "hex": "#cac866",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 58.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81405,
    "c": 0.12113,
    "h": 107.8
  },
  "luminance": 0.54824
}

Semantic roles & 50–950 ramp

primary
#CAC866
secondary
#46478E
accent
#52D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC866

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

Preview Lab → · Contrast checker → · Palette generator →

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