#CAC776#CAC776

#CAC776 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.103 H 106.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CAC776
RGBrgb(202, 199, 118)
HSLhsl(58, 44%, 63%)
HSVhsv(58, 42%, 79%)
CMYKcmyk(0%, 1.5%, 41.6%, 20.8%)
CIE-LABlab(78.88, -10.63, 40.84)
CIE-LCHlch(78.88, 42.20, 104.59°)
OKLaboklab(81.42% -0.0295 0.0989)
OKLCHoklch(81.42% 0.103 106.6)
XYZxyz(48.0514, 54.7125, 25.1654)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC776 #7679CA
analogous
#CA9D76 #CAC776 #A3CA76
triadic
#CAC776 #76CAC7 #C776CA
tetradic
#CAC776 #76CA9D #7679CA #CA76A3
square
#CAC776 #76CA9D #7679CA #CA76A3
split-complementary
#CAC776 #76A3CA #9D76CA
monochromatic
#8E8B37 #B9B54A #CAC776 #DBD9A2 #ECEBCE

Accessibility & contrast

On white

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

On black

11.94
#CAC776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC776
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC776#FFFFFF#000000##000000
##CAC7761.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C170
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#D5BEB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac776;
/* rgb */ color: rgb(202, 199, 118);
/* oklch */ color: oklch(81.4% 0.103 106.6);
Tailwind
colors: {
  custom: {
    50: '#dbd79f',
    500: '#cac776',
    950: '#000000',
  },
}
SCSS
$custom: #cac776;
$custom-light: #dbd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac776",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 118
  },
  "hsl": {
    "h": 57.857,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81418,
    "c": 0.10324,
    "h": 106.6
  },
  "luminance": 0.54711
}

Semantic roles & 50–950 ramp

primary
#CAC776
secondary
#4F5195
accent
#33B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CAC776

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

Preview Lab → · Contrast checker → · Palette generator →

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