#CAC537#CAC537

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

Color values

HEX#CAC537
RGBrgb(202, 197, 55)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 73%, 79%)
CMYKcmyk(0%, 2.5%, 72.8%, 20.8%)
CIE-LABlab(77.74, -14.30, 67.28)
CIE-LCHlch(77.74, 68.78, 102.00°)
OKLaboklab(80.32% -0.0464 0.1483)
OKLCHoklch(80.32% 0.155 107.4)
XYZxyz(45.0147, 52.7664, 11.4274)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC537 #373CCA
analogous
#CA7B37 #CAC537 #86CA37
triadic
#CAC537 #37CAC5 #C537CA
tetradic
#CAC537 #37CA7B #373CCA #CA3786
square
#CAC537 #37CA7B #373CCA #CA3786
split-complementary
#CAC537 #3786CA #7B37CA
monochromatic
#6A681C #9B9729 #CAC537 #D7D367 #E4E198

Accessibility & contrast

On white

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

On black

11.55
#CAC537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC537
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC537#FFFFFF#000000##000000
##CAC5371.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac537;
/* rgb */ color: rgb(202, 197, 55);
/* oklch */ color: oklch(80.3% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded678',
    500: '#cac537',
    950: '#000000',
  },
}
SCSS
$custom: #cac537;
$custom-light: #ded678;
$custom-dark: #000000;
JSON
{
  "hex": "#cac537",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 57.959,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.80317,
    "c": 0.1554,
    "h": 107.4
  },
  "luminance": 0.52765
}

Semantic roles & 50–950 ramp

primary
#CAC537
secondary
#313374
accent
#4CE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC537

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

Preview Lab → · Contrast checker → · Palette generator →

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