#CAC93A#CAC93A

#CAC93A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.157 H 109.0°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CAC93A
RGBrgb(202, 201, 58)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 71%, 79%)
CMYKcmyk(0%, 0.5%, 71.3%, 20.8%)
CIE-LABlab(78.83, -16.17, 67.28)
CIE-LCHlch(78.83, 69.20, 103.51°)
OKLaboklab(81.2% -0.0514 0.1488)
OKLCHoklch(81.2% 0.157 109)
XYZxyz(46.0092, 54.6367, 12.1245)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93A #3A3BCA
analogous
#CA813A #CAC93A #83CA3A
triadic
#CAC93A #3ACAC9 #C93ACA
tetradic
#CAC93A #3ACA81 #3A3BCA #CA3A83
square
#CAC93A #3ACA81 #3A3BCA #CA3A83
split-complementary
#CAC93A #3A83CA #813ACA
monochromatic
#6C6C1D #9D9C2A #CAC93A #D7D66A #E4E39A

Accessibility & contrast

On white

1.76
#CAC93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CAC93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC93A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC93A#FFFFFF#000000##000000
##CAC93A1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C120
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#D8BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93a;
/* rgb */ color: rgb(202, 201, 58);
/* oklch */ color: oklch(81.2% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#cac93a',
    950: '#000000',
  },
}
SCSS
$custom: #cac93a;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93a",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 59.583,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81196,
    "c": 0.15746,
    "h": 109
  },
  "luminance": 0.54635
}

Semantic roles & 50–950 ramp

primary
#CAC93A
secondary
#323376
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93A

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

Preview Lab → · Contrast checker → · Palette generator →

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