#CAC652#CAC652

#CAC652 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.137 H 107.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CAC652
RGBrgb(202, 198, 82)
HSLhsl(58, 53%, 56%)
HSVhsv(58, 59%, 79%)
CMYKcmyk(0%, 2%, 59.4%, 20.8%)
CIE-LABlab(78.20, -13.26, 57.12)
CIE-LCHlch(78.20, 58.64, 103.07°)
OKLaboklab(80.75% -0.0407 0.1311)
OKLCHoklch(80.75% 0.137 107.3)
XYZxyz(46.0756, 53.5553, 15.8911)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC652 #5256CA
analogous
#CA8A52 #CAC652 #92CA52
triadic
#CAC652 #52CAC6 #C652CA
tetradic
#CAC652 #52CA8A #5256CA #CA5292
square
#CAC652 #52CA8A #5256CA #CA5292
split-complementary
#CAC652 #5292CA #8A52CA
monochromatic
#7C7926 #ABA734 #CAC652 #D8D581 #E7E5B0

Accessibility & contrast

On white

1.79
#CAC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CAC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC652
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC652#FFFFFF#000000##000000
##CAC6521.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#D8BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac652;
/* rgb */ color: rgb(202, 198, 82);
/* oklch */ color: oklch(80.8% 0.137 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddd787',
    500: '#cac652',
    950: '#000000',
  },
}
SCSS
$custom: #cac652;
$custom-light: #ddd787;
$custom-dark: #000000;
JSON
{
  "hex": "#cac652",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 58,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8075,
    "c": 0.13728,
    "h": 107.3
  },
  "luminance": 0.53554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC652

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

Preview Lab → · Contrast checker → · Palette generator →

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