#CAC080#CAC080

#CAC080 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.084 H 100.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CAC080
RGBrgb(202, 192, 128)
HSLhsl(52, 41%, 65%)
HSVhsv(52, 37%, 79%)
CMYKcmyk(0%, 5%, 36.6%, 20.8%)
CIE-LABlab(77.17, -5.92, 33.55)
CIE-LCHlch(77.17, 34.07, 100.00°)
OKLaboklab(80.11% -0.0152 0.0827)
OKLCHoklch(80.11% 0.084 100.4)
XYZxyz(47.1038, 51.8156, 27.9380)
Luminance0.5181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC080 #808ACA
analogous
#CA9B80 #CAC080 #AFCA80
triadic
#CAC080 #80CAC0 #C080CA
tetradic
#CAC080 #80CA9B #808ACA #CA80AF
square
#CAC080 #80CA9B #808ACA #CA80AF
split-complementary
#CAC080 #80AFCA #9B80CA
monochromatic
#92873D #B8AB55 #CAC080 #DCD5AB #EEEBD6

Accessibility & contrast

On white

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

On black

11.36
#CAC080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC080
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC080#FFFFFF#000000##000000
##CAC0801.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7B
Deuteranopia (green-blind)
#CFC082
Tritanopia (blue-blind)
#D5B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac080;
/* rgb */ color: rgb(202, 192, 128);
/* oklch */ color: oklch(80.1% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbd2a5',
    500: '#cac080',
    950: '#000000',
  },
}
SCSS
$custom: #cac080;
$custom-light: #dbd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cac080",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 51.892,
    "s": 41.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80114,
    "c": 0.08413,
    "h": 100.4
  },
  "luminance": 0.51814
}

Semantic roles & 50–950 ramp

primary
#CAC080
secondary
#555E99
accent
#43B431
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CAC080

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

Preview Lab → · Contrast checker → · Palette generator →

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