#CAC759#CAC759

#CAC759 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.132 H 107.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CAC759
RGBrgb(202, 199, 89)
HSLhsl(58, 52%, 57%)
HSVhsv(58, 56%, 79%)
CMYKcmyk(0%, 1.5%, 55.9%, 20.8%)
CIE-LABlab(78.54, -13.26, 54.37)
CIE-LCHlch(78.54, 55.96, 103.70°)
OKLaboklab(81.04% -0.0399 0.1261)
OKLCHoklch(81.04% 0.132 107.6)
XYZxyz(46.5851, 54.1260, 17.4427)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC759 #595CCA
analogous
#CA8F59 #CAC759 #95CA59
triadic
#CAC759 #59CAC7 #C759CA
tetradic
#CAC759 #59CA8F #595CCA #CA5995
square
#CAC759 #59CA8F #595CCA #CA5995
split-complementary
#CAC759 #5995CA #8F59CA
monochromatic
#807D29 #AEAB38 #CAC759 #D9D787 #E8E6B6

Accessibility & contrast

On white

1.78
#CAC759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CAC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC759
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC759#FFFFFF#000000##000000
##CAC7591.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#D7BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac759;
/* rgb */ color: rgb(202, 199, 89);
/* oklch */ color: oklch(81.0% 0.132 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd78c',
    500: '#cac759',
    950: '#000000',
  },
}
SCSS
$custom: #cac759;
$custom-light: #ddd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac759",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 58.407,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81037,
    "c": 0.13228,
    "h": 107.6
  },
  "luminance": 0.54125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC759

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

Preview Lab → · Contrast checker → · Palette generator →

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