#CAC650#CAC650

#CAC650 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.139 H 107.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CAC650
RGBrgb(202, 198, 80)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 60%, 79%)
CMYKcmyk(0%, 2%, 60.4%, 20.8%)
CIE-LABlab(78.18, -13.40, 57.97)
CIE-LCHlch(78.18, 59.50, 103.02°)
OKLaboklab(80.73% -0.0413 0.1326)
OKLCHoklch(80.73% 0.139 107.3)
XYZxyz(46.0007, 53.5253, 15.4961)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC650 #5054CA
analogous
#CA8950 #CAC650 #91CA50
triadic
#CAC650 #50CAC6 #C650CA
tetradic
#CAC650 #50CA89 #5054CA #CA5091
square
#CAC650 #50CA89 #5054CA #CA5091
split-complementary
#CAC650 #5091CA #8950CA
monochromatic
#7A7825 #A9A633 #CAC650 #D8D57F #E6E5AE

Accessibility & contrast

On white

1.79
#CAC650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CAC650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC650
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC650#FFFFFF#000000##000000
##CAC6501.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF42
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#D8BAAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac650;
/* rgb */ color: rgb(202, 198, 80);
/* oklch */ color: oklch(80.7% 0.139 107.3);
Tailwind
colors: {
  custom: {
    50: '#ddd786',
    500: '#cac650',
    950: '#000000',
  },
}
SCSS
$custom: #cac650;
$custom-light: #ddd786;
$custom-dark: #000000;
JSON
{
  "hex": "#cac650",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 58.033,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80731,
    "c": 0.13893,
    "h": 107.3
  },
  "luminance": 0.53524
}

Semantic roles & 50–950 ramp

primary
#CAC650
secondary
#3B3E83
accent
#50DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC650

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

Preview Lab → · Contrast checker → · Palette generator →

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