#CAC55D#CAC55D

#CAC55D is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.127 H 106.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CAC55D
RGBrgb(202, 197, 93)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 54%, 79%)
CMYKcmyk(0%, 2.5%, 54%, 20.8%)
CIE-LABlab(78.04, -11.93, 51.97)
CIE-LCHlch(78.04, 53.32, 102.93°)
OKLaboklab(80.66% -0.0357 0.1214)
OKLCHoklch(80.66% 0.127 106.4)
XYZxyz(46.3005, 53.2807, 18.1991)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC55D #5D62CA
analogous
#CA8F5D #CAC55D #98CA5D
triadic
#CAC55D #5DCAC5 #C55DCA
tetradic
#CAC55D #5DCA8F #5D62CA #CA5D98
square
#CAC55D #5DCA8F #5D62CA #CA5D98
split-complementary
#CAC55D #5D98CA #8F5DCA
monochromatic
#827E2B #B0AB3A #CAC55D #D9D68B #E8E6B9

Accessibility & contrast

On white

1.80
#CAC55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CAC55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC55D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC55D#FFFFFF#000000##000000
##CAC55D1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#D7BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac55d;
/* rgb */ color: rgb(202, 197, 93);
/* oklch */ color: oklch(80.7% 0.127 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd68e',
    500: '#cac55d',
    950: '#000000',
  },
}
SCSS
$custom: #cac55d;
$custom-light: #dcd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac55d",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 57.248,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80656,
    "c": 0.12655,
    "h": 106.4
  },
  "luminance": 0.53279
}

Semantic roles & 50–950 ramp

primary
#CAC55D
secondary
#42458A
accent
#54DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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