#CAC52B#CAC52B

#CAC52B is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.3% C 0.162 H 107.6°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CAC52B
RGBrgb(202, 197, 43)
HSLhsl(58, 65%, 48%)
HSVhsv(58, 79%, 79%)
CMYKcmyk(0%, 2.5%, 78.7%, 20.8%)
CIE-LABlab(77.68, -14.77, 71.00)
CIE-LCHlch(77.68, 72.52, 101.75°)
OKLaboklab(80.25% -0.0488 0.154)
OKLCHoklch(80.25% 0.162 107.6)
XYZxyz(44.7613, 52.6651, 10.0926)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC52B #2B30CA
analogous
#CA752B #CAC52B #7FCA2B
triadic
#CAC52B #2BCAC5 #C52BCA
tetradic
#CAC52B #2BCA75 #2B30CA #CA2B7F
square
#CAC52B #2BCA75 #2B30CA #CA2B7F
split-complementary
#CAC52B #2B7FCA #752BCA
monochromatic
#656316 #989420 #CAC52B #DBD757 #E6E389

Accessibility & contrast

On white

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

On black

11.53
#CAC52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC52B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC52B#FFFFFF#000000##000000
##CAC52B1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D9C239
Tritanopia (blue-blind)
#D9B8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac52b;
/* rgb */ color: rgb(202, 197, 43);
/* oklch */ color: oklch(80.3% 0.162 107.6);
Tailwind
colors: {
  custom: {
    50: '#ded672',
    500: '#cac52b',
    950: '#000000',
  },
}
SCSS
$custom: #cac52b;
$custom-light: #ded672;
$custom-dark: #000000;
JSON
{
  "hex": "#cac52b",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 43
  },
  "hsl": {
    "h": 58.113,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.16158,
    "h": 107.6
  },
  "luminance": 0.52663
}

Semantic roles & 50–950 ramp

primary
#CAC52B
secondary
#2A2C6F
accent
#45E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC52B

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

Preview Lab → · Contrast checker → · Palette generator →

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