#CAC53C#CAC53C

#CAC53C is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.3% C 0.152 H 107.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CAC53C
RGBrgb(202, 197, 60)
HSLhsl(58, 57%, 51%)
HSVhsv(58, 70%, 79%)
CMYKcmyk(0%, 2.5%, 70.3%, 20.8%)
CIE-LABlab(77.77, -14.06, 65.54)
CIE-LCHlch(77.77, 67.03, 102.11°)
OKLaboklab(80.35% -0.0453 0.1455)
OKLCHoklch(80.35% 0.152 107.3)
XYZxyz(45.1407, 52.8168, 12.0909)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53C #3C41CA
analogous
#CA7E3C #CAC53C #88CA3C
triadic
#CAC53C #3CCAC5 #C53CCA
tetradic
#CAC53C #3CCA7E #3C41CA #CA3C88
square
#CAC53C #3CCA7E #3C41CA #CA3C88
split-complementary
#CAC53C #3C88CA #7E3CCA
monochromatic
#6E6B1E #9E9A2B #CAC53C #D7D36C #E4E29C

Accessibility & contrast

On white

1.82
#CAC53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CAC53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC53C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC53C#FFFFFF#000000##000000
##CAC53C1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD25
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#D9B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac53c;
/* rgb */ color: rgb(202, 197, 60);
/* oklch */ color: oklch(80.3% 0.152 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded67b',
    500: '#cac53c',
    950: '#000000',
  },
}
SCSS
$custom: #cac53c;
$custom-light: #ded67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53c",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 57.887,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.8035,
    "c": 0.15239,
    "h": 107.3
  },
  "luminance": 0.52815
}

Semantic roles & 50–950 ramp

primary
#CAC53C
secondary
#333577
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC53C

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

Preview Lab → · Contrast checker → · Palette generator →

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