#CAC53B#CAC53B

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

Color values

HEX#CAC53B
RGBrgb(202, 197, 59)
HSLhsl(58, 57%, 51%)
HSVhsv(58, 71%, 79%)
CMYKcmyk(0%, 2.5%, 70.8%, 20.8%)
CIE-LABlab(77.76, -14.11, 65.89)
CIE-LCHlch(77.76, 67.39, 102.09°)
OKLaboklab(80.34% -0.0455 0.1461)
OKLCHoklch(80.34% 0.153 107.3)
XYZxyz(45.1145, 52.8064, 11.9530)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53B #3B40CA
analogous
#CA7D3B #CAC53B #87CA3B
triadic
#CAC53B #3BCAC5 #C53BCA
tetradic
#CAC53B #3BCA7D #3B40CA #CA3B87
square
#CAC53B #3BCA7D #3B40CA #CA3B87
split-complementary
#CAC53B #3B87CA #7D3BCA
monochromatic
#6D6A1E #9D992B #CAC53B #D7D36B #E4E29B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC53B#FFFFFF#000000##000000
##CAC53B1.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)
#D5BD23
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#D9B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac53b;
/* rgb */ color: rgb(202, 197, 59);
/* oklch */ color: oklch(80.3% 0.153 107.3);
Tailwind
colors: {
  custom: {
    50: '#ded67a',
    500: '#cac53b',
    950: '#000000',
  },
}
SCSS
$custom: #cac53b;
$custom-light: #ded67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53b",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 57.902,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80343,
    "c": 0.15301,
    "h": 107.3
  },
  "luminance": 0.52805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC53B

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

Preview Lab → · Contrast checker → · Palette generator →

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