#CAC53A#CAC53A

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

Color values

HEX#CAC53A
RGBrgb(202, 197, 58)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 71%, 79%)
CMYKcmyk(0%, 2.5%, 71.3%, 20.8%)
CIE-LABlab(77.75, -14.16, 66.24)
CIE-LCHlch(77.75, 67.74, 102.07°)
OKLaboklab(80.34% -0.0457 0.1467)
OKLCHoklch(80.34% 0.154 107.3)
XYZxyz(45.0888, 52.7961, 11.8177)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53A #3A3FCA
analogous
#CA7D3A #CAC53A #87CA3A
triadic
#CAC53A #3ACAC5 #C53ACA
tetradic
#CAC53A #3ACA7D #3A3FCA #CA3A87
square
#CAC53A #3ACA7D #3A3FCA #CA3A87
split-complementary
#CAC53A #3A87CA #7D3ACA
monochromatic
#6C6A1D #9D992A #CAC53A #D7D36A #E4E19A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC53A#FFFFFF#000000##000000
##CAC53A1.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)
#D6BD21
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#D9B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac53a;
/* rgb */ color: rgb(202, 197, 58);
/* oklch */ color: oklch(80.3% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded679',
    500: '#cac53a',
    950: '#000000',
  },
}
SCSS
$custom: #cac53a;
$custom-light: #ded679;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53a",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 58
  },
  "hsl": {
    "h": 57.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80337,
    "c": 0.15362,
    "h": 107.3
  },
  "luminance": 0.52795
}

Semantic roles & 50–950 ramp

primary
#CAC53A
secondary
#323576
accent
#4CE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC53A

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

Preview Lab → · Contrast checker → · Palette generator →

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