#CAC856#CAC856

#CAC856 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.136 H 108.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CAC856
RGBrgb(202, 200, 86)
HSLhsl(59, 52%, 56%)
HSVhsv(59, 57%, 79%)
CMYKcmyk(0%, 1%, 57.4%, 20.8%)
CIE-LABlab(78.77, -13.99, 55.99)
CIE-LCHlch(78.77, 57.71, 104.03°)
OKLaboklab(81.22% -0.0423 0.1292)
OKLCHoklch(81.22% 0.136 108.1)
XYZxyz(46.6925, 54.5383, 16.8696)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC856 #5658CA
analogous
#CA8E56 #CAC856 #92CA56
triadic
#CAC856 #56CAC8 #C856CA
tetradic
#CAC856 #56CA8E #5658CA #CA5692
square
#CAC856 #56CA8E #5658CA #CA5692
split-complementary
#CAC856 #5692CA #8E56CA
monochromatic
#7E7D28 #ADAB36 #CAC856 #D9D785 #E7E6B3

Accessibility & contrast

On white

1.76
#CAC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CAC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC856
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC856#FFFFFF#000000##000000
##CAC8561.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#D7BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac856;
/* rgb */ color: rgb(202, 200, 86);
/* oklch */ color: oklch(81.2% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#ddd88a',
    500: '#cac856',
    950: '#000000',
  },
}
SCSS
$custom: #cac856;
$custom-light: #ddd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac856",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 58.966,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81219,
    "c": 0.13597,
    "h": 108.1
  },
  "luminance": 0.54537
}

Semantic roles & 50–950 ramp

primary
#CAC856
secondary
#3E3F86
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC856

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

Preview Lab → · Contrast checker → · Palette generator →

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