#CAC552#CAC552

#CAC552 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.5% C 0.136 H 106.8°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CAC552
RGBrgb(202, 197, 82)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 59%, 79%)
CMYKcmyk(0%, 2.5%, 59.4%, 20.8%)
CIE-LABlab(77.93, -12.76, 56.82)
CIE-LCHlch(77.93, 58.24, 102.65°)
OKLaboklab(80.54% -0.0393 0.1305)
OKLCHoklch(80.54% 0.136 106.8)
XYZxyz(45.8478, 53.0997, 15.8152)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC552 #5257CA
analogous
#CA8952 #CAC552 #93CA52
triadic
#CAC552 #52CAC5 #C552CA
tetradic
#CAC552 #52CA89 #5257CA #CA5293
square
#CAC552 #52CA89 #5257CA #CA5293
split-complementary
#CAC552 #5293CA #8952CA
monochromatic
#7C7826 #ABA634 #CAC552 #D8D581 #E7E4B0

Accessibility & contrast

On white

1.81
#CAC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CAC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC552
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC552#FFFFFF#000000##000000
##CAC5521.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#D8B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac552;
/* rgb */ color: rgb(202, 197, 82);
/* oklch */ color: oklch(80.5% 0.136 106.8);
Tailwind
colors: {
  custom: {
    50: '#ddd687',
    500: '#cac552',
    950: '#000000',
  },
}
SCSS
$custom: #cac552;
$custom-light: #ddd687;
$custom-dark: #000000;
JSON
{
  "hex": "#cac552",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 57.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80537,
    "c": 0.13626,
    "h": 106.8
  },
  "luminance": 0.53098
}

Semantic roles & 50–950 ramp

primary
#CAC552
secondary
#3C3F84
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC552

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

Preview Lab → · Contrast checker → · Palette generator →

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