#CAC756#CAC756

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

Color values

HEX#CAC756
RGBrgb(202, 199, 86)
HSLhsl(58, 52%, 56%)
HSVhsv(58, 57%, 79%)
CMYKcmyk(0%, 1.5%, 57.4%, 20.8%)
CIE-LABlab(78.51, -13.48, 55.69)
CIE-LCHlch(78.51, 57.30, 103.61°)
OKLaboklab(81.01% -0.0409 0.1286)
OKLCHoklch(81.01% 0.135 107.6)
XYZxyz(46.4616, 54.0766, 16.7927)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC756 #5659CA
analogous
#CA8D56 #CAC756 #93CA56
triadic
#CAC756 #56CAC7 #C756CA
tetradic
#CAC756 #56CA8D #5659CA #CA5693
square
#CAC756 #56CA8D #5659CA #CA5693
split-complementary
#CAC756 #5693CA #8D56CA
monochromatic
#7E7C28 #ADAA36 #CAC756 #D9D685 #E7E6B3

Accessibility & contrast

On white

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

On black

11.82
#CAC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC756
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC756#FFFFFF#000000##000000
##CAC7561.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac756;
/* rgb */ color: rgb(202, 199, 86);
/* oklch */ color: oklch(81.0% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cac756',
    950: '#000000',
  },
}
SCSS
$custom: #cac756;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac756",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 58.448,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81005,
    "c": 0.13492,
    "h": 107.6
  },
  "luminance": 0.54075
}

Semantic roles & 50–950 ramp

primary
#CAC756
secondary
#3E4086
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC756

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

Preview Lab → · Contrast checker → · Palette generator →

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