#CAC656#CAC656

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

Color values

HEX#CAC656
RGBrgb(202, 198, 86)
HSLhsl(58, 52%, 56%)
HSVhsv(58, 57%, 79%)
CMYKcmyk(0%, 2%, 57.4%, 20.8%)
CIE-LABlab(78.24, -12.98, 55.39)
CIE-LCHlch(78.24, 56.89, 103.19°)
OKLaboklab(80.79% -0.0395 0.1279)
OKLCHoklch(80.79% 0.134 107.1)
XYZxyz(46.2323, 53.6180, 16.7162)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC656 #565ACA
analogous
#CA8C56 #CAC656 #94CA56
triadic
#CAC656 #56CAC6 #C656CA
tetradic
#CAC656 #56CA8C #565ACA #CA5694
square
#CAC656 #56CA8C #565ACA #CA5694
split-complementary
#CAC656 #5694CA #8C56CA
monochromatic
#7E7B28 #ADA936 #CAC656 #D9D685 #E7E5B3

Accessibility & contrast

On white

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

On black

11.72
#CAC656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC656
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC656#FFFFFF#000000##000000
##CAC6561.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D7C45C
Tritanopia (blue-blind)
#D7BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac656;
/* rgb */ color: rgb(202, 198, 86);
/* oklch */ color: oklch(80.8% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cac656',
    950: '#000000',
  },
}
SCSS
$custom: #cac656;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac656",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 57.931,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80791,
    "c": 0.13388,
    "h": 107.1
  },
  "luminance": 0.53617
}

Semantic roles & 50–950 ramp

primary
#CAC656
secondary
#3E4186
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC656

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

Preview Lab → · Contrast checker → · Palette generator →

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