#CAC476#CAC476

#CAC476 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.100 H 104.6°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAC476
RGBrgb(202, 196, 118)
HSLhsl(56, 44%, 63%)
HSVhsv(56, 42%, 79%)
CMYKcmyk(0%, 3%, 41.6%, 20.8%)
CIE-LABlab(78.08, -9.09, 39.84)
CIE-LCHlch(78.08, 40.86, 102.86°)
OKLaboklab(80.79% -0.0251 0.0967)
OKLCHoklch(80.79% 0.1 104.6)
XYZxyz(47.3679, 53.3456, 24.9375)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC476 #767CCA
analogous
#CA9A76 #CAC476 #A6CA76
triadic
#CAC476 #76CAC4 #C476CA
tetradic
#CAC476 #76CA9A #767CCA #CA76A6
square
#CAC476 #76CA9A #767CCA #CA76A6
split-complementary
#CAC476 #76A6CA #9A76CA
monochromatic
#8E8837 #B9B14A #CAC476 #DBD7A2 #ECEACE

Accessibility & contrast

On white

1.80
#CAC476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CAC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC476
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC476#FFFFFF#000000##000000
##CAC4761.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF70
Deuteranopia (green-blind)
#D3C379
Tritanopia (blue-blind)
#D5BBB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac476;
/* rgb */ color: rgb(202, 196, 118);
/* oklch */ color: oklch(80.8% 0.100 104.6);
Tailwind
colors: {
  custom: {
    50: '#dbd59f',
    500: '#cac476',
    950: '#000000',
  },
}
SCSS
$custom: #cac476;
$custom-light: #dbd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac476",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 55.714,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80785,
    "c": 0.09988,
    "h": 104.6
  },
  "luminance": 0.53344
}

Semantic roles & 50–950 ramp

primary
#CAC476
secondary
#4F5495
accent
#38B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CAC476

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

Preview Lab → · Contrast checker → · Palette generator →

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