#CAC545#CAC545

#CAC545 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.146 H 107.1°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CAC545
RGBrgb(202, 197, 69)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 66%, 79%)
CMYKcmyk(0%, 2.5%, 65.8%, 20.8%)
CIE-LABlab(77.83, -13.58, 62.16)
CIE-LCHlch(77.83, 63.63, 102.33°)
OKLaboklab(80.42% -0.043 0.1399)
OKLCHoklch(80.42% 0.146 107.1)
XYZxyz(45.3992, 52.9202, 13.4522)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC545 #454ACA
analogous
#CA8245 #CAC545 #8DCA45
triadic
#CAC545 #45CAC5 #C545CA
tetradic
#CAC545 #45CA82 #454ACA #CA458D
square
#CAC545 #45CA82 #454ACA #CA458D
split-complementary
#CAC545 #458DCA #8245CA
monochromatic
#747121 #A39F2F #CAC545 #D8D475 #E5E3A4

Accessibility & contrast

On white

1.81
#CAC545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CAC545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC545
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC545#FFFFFF#000000##000000
##CAC5451.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE33
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac545;
/* rgb */ color: rgb(202, 197, 69);
/* oklch */ color: oklch(80.4% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd67f',
    500: '#cac545',
    950: '#000000',
  },
}
SCSS
$custom: #cac545;
$custom-light: #ddd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac545",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 57.744,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80419,
    "c": 0.14635,
    "h": 107.1
  },
  "luminance": 0.52919
}

Semantic roles & 50–950 ramp

primary
#CAC545
secondary
#37397D
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC545

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

Preview Lab → · Contrast checker → · Palette generator →

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