#CAC659#CAC659

#CAC659 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.131 H 107.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CAC659
RGBrgb(202, 198, 89)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 79%)
CMYKcmyk(0%, 2%, 55.9%, 20.8%)
CIE-LABlab(78.27, -12.75, 54.07)
CIE-LCHlch(78.27, 55.55, 103.27°)
OKLaboklab(80.82% -0.0385 0.1255)
OKLCHoklch(80.82% 0.131 107.1)
XYZxyz(46.3557, 53.6673, 17.3662)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC659 #595DCA
analogous
#CA8E59 #CAC659 #96CA59
triadic
#CAC659 #59CAC6 #C659CA
tetradic
#CAC659 #59CA8E #595DCA #CA5996
square
#CAC659 #59CA8E #595DCA #CA5996
split-complementary
#CAC659 #5996CA #8E59CA
monochromatic
#807D29 #AEAA38 #CAC659 #D9D687 #E8E6B6

Accessibility & contrast

On white

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

On black

11.73
#CAC659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC659
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC659#FFFFFF#000000##000000
##CAC6591.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#D7BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac659;
/* rgb */ color: rgb(202, 198, 89);
/* oklch */ color: oklch(80.8% 0.131 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78b',
    500: '#cac659',
    950: '#000000',
  },
}
SCSS
$custom: #cac659;
$custom-light: #ddd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac659",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 57.876,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80824,
    "c": 0.13124,
    "h": 107.1
  },
  "luminance": 0.53666
}

Semantic roles & 50–950 ramp

primary
#CAC659
secondary
#404288
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC659

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

Preview Lab → · Contrast checker → · Palette generator →

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