#CAC950#CAC950

#CAC950 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.142 H 108.7°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CAC950
RGBrgb(202, 201, 80)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 60%, 79%)
CMYKcmyk(0%, 0.5%, 60.4%, 20.8%)
CIE-LABlab(78.99, -14.91, 58.84)
CIE-LCHlch(78.99, 60.70, 104.22°)
OKLaboklab(81.37% -0.0456 0.1345)
OKLCHoklch(81.37% 0.142 108.7)
XYZxyz(46.6932, 54.9103, 15.7270)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC950 #5051CA
analogous
#CA8C50 #CAC950 #8ECA50
triadic
#CAC950 #50CAC9 #C950CA
tetradic
#CAC950 #50CA8C #5051CA #CA508E
square
#CAC950 #50CA8C #5051CA #CA508E
split-complementary
#CAC950 #508ECA #8C50CA
monochromatic
#7A7A25 #A9A933 #CAC950 #D8D77F #E6E6AE

Accessibility & contrast

On white

1.75
#CAC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CAC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC950
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC950#FFFFFF#000000##000000
##CAC9501.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#D7BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac950;
/* rgb */ color: rgb(202, 201, 80);
/* oklch */ color: oklch(81.4% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddd986',
    500: '#cac950',
    950: '#000000',
  },
}
SCSS
$custom: #cac950;
$custom-light: #ddd986;
$custom-dark: #000000;
JSON
{
  "hex": "#cac950",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 59.508,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.14201,
    "h": 108.7
  },
  "luminance": 0.54909
}

Semantic roles & 50–950 ramp

primary
#CAC950
secondary
#3B3C83
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC950

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

Preview Lab → · Contrast checker → · Palette generator →

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