#CAC55C#CAC55C

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

Color values

HEX#CAC55C
RGBrgb(202, 197, 92)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 54%, 79%)
CMYKcmyk(0%, 2.5%, 54.5%, 20.8%)
CIE-LABlab(78.03, -12.01, 52.42)
CIE-LCHlch(78.03, 53.78, 102.90°)
OKLaboklab(80.65% -0.0361 0.1223)
OKLCHoklch(80.65% 0.127 106.4)
XYZxyz(46.2565, 53.2631, 17.9673)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC55C #5C61CA
analogous
#CA8E5C #CAC55C #98CA5C
triadic
#CAC55C #5CCAC5 #C55CCA
tetradic
#CAC55C #5CCA8E #5C61CA #CA5C98
square
#CAC55C #5CCA8E #5C61CA #CA5C98
split-complementary
#CAC55C #5C98CA #8E5CCA
monochromatic
#817E2A #B0AA39 #CAC55C #D9D58A #E8E6B8

Accessibility & contrast

On white

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

On black

11.65
#CAC55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC55C
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC55C#FFFFFF#000000##000000
##CAC55C1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac55c;
/* rgb */ color: rgb(202, 197, 92);
/* oklch */ color: oklch(80.6% 0.127 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd68d',
    500: '#cac55c',
    950: '#000000',
  },
}
SCSS
$custom: #cac55c;
$custom-light: #dcd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac55c",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 57.273,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80645,
    "c": 0.12748,
    "h": 106.4
  },
  "luminance": 0.53262
}

Semantic roles & 50–950 ramp

primary
#CAC55C
secondary
#414489
accent
#54DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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