#CAC536#CAC536

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

Color values

HEX#CAC536
RGBrgb(202, 197, 54)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 73%, 79%)
CMYKcmyk(0%, 2.5%, 73.3%, 20.8%)
CIE-LABlab(77.73, -14.34, 67.61)
CIE-LCHlch(77.73, 69.12, 101.98°)
OKLaboklab(80.31% -0.0466 0.1488)
OKLCHoklch(80.31% 0.156 107.4)
XYZxyz(44.9910, 52.7569, 11.3025)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC536 #363BCA
analogous
#CA7B36 #CAC536 #85CA36
triadic
#CAC536 #36CAC5 #C536CA
tetradic
#CAC536 #36CA7B #363BCA #CA3685
square
#CAC536 #36CA7B #363BCA #CA3685
split-complementary
#CAC536 #3685CA #7B36CA
monochromatic
#6A671C #9A9629 #CAC536 #D7D366 #E4E197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC536#FFFFFF#000000##000000
##CAC5361.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)
#D6BD19
Deuteranopia (green-blind)
#D8C341
Tritanopia (blue-blind)
#D9B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac536;
/* rgb */ color: rgb(202, 197, 54);
/* oklch */ color: oklch(80.3% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded677',
    500: '#cac536',
    950: '#000000',
  },
}
SCSS
$custom: #cac536;
$custom-light: #ded677;
$custom-dark: #000000;
JSON
{
  "hex": "#cac536",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 54
  },
  "hsl": {
    "h": 57.973,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80311,
    "c": 0.15597,
    "h": 107.4
  },
  "luminance": 0.52755
}

Semantic roles & 50–950 ramp

primary
#CAC536
secondary
#313374
accent
#4CE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC536

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

Preview Lab → · Contrast checker → · Palette generator →

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