#CAC53D#CAC53D

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

Color values

HEX#CAC53D
RGBrgb(202, 197, 61)
HSLhsl(58, 57%, 52%)
HSVhsv(58, 70%, 79%)
CMYKcmyk(0%, 2.5%, 69.8%, 20.8%)
CIE-LABlab(77.77, -14.01, 65.18)
CIE-LCHlch(77.77, 66.67, 102.13°)
OKLaboklab(80.36% -0.045 0.1449)
OKLCHoklch(80.36% 0.152 107.3)
XYZxyz(45.1674, 52.8275, 12.2315)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53D #3D42CA
analogous
#CA7F3D #CAC53D #89CA3D
triadic
#CAC53D #3DCAC5 #C53DCA
tetradic
#CAC53D #3DCA7F #3D42CA #CA3D89
square
#CAC53D #3DCA7F #3D42CA #CA3D89
split-complementary
#CAC53D #3D89CA #7F3DCA
monochromatic
#6E6C1E #9F9A2B #CAC53D #D7D36D #E4E29D

Accessibility & contrast

On white

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

On black

11.57
#CAC53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC53D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC53D#FFFFFF#000000##000000
##CAC53D1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac53d;
/* rgb */ color: rgb(202, 197, 61);
/* oklch */ color: oklch(80.4% 0.152 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded67b',
    500: '#cac53d',
    950: '#000000',
  },
}
SCSS
$custom: #cac53d;
$custom-light: #ded67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53d",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 61
  },
  "hsl": {
    "h": 57.872,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80357,
    "c": 0.15176,
    "h": 107.3
  },
  "luminance": 0.52826
}

Semantic roles & 50–950 ramp

primary
#CAC53D
secondary
#333678
accent
#4DE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC53D

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

Preview Lab → · Contrast checker → · Palette generator →

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