#CAC855#CAC855

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

Color values

HEX#CAC855
RGBrgb(202, 200, 85)
HSLhsl(59, 52%, 56%)
HSVhsv(59, 58%, 79%)
CMYKcmyk(0%, 1%, 57.9%, 20.8%)
CIE-LABlab(78.77, -14.06, 56.42)
CIE-LCHlch(78.77, 58.14, 103.99°)
OKLaboklab(81.21% -0.0426 0.13)
OKLCHoklch(81.21% 0.137 108.2)
XYZxyz(46.6525, 54.5223, 16.6589)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC855 #5557CA
analogous
#CA8E55 #CAC855 #92CA55
triadic
#CAC855 #55CAC8 #C855CA
tetradic
#CAC855 #55CA8E #5557CA #CA5592
square
#CAC855 #55CA8E #5557CA #CA5592
split-complementary
#CAC855 #5592CA #8E55CA
monochromatic
#7D7C27 #ACAA36 #CAC855 #D9D784 #E7E6B2

Accessibility & contrast

On white

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

On black

11.90
#CAC855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC855
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC855#FFFFFF#000000##000000
##CAC8551.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac855;
/* rgb */ color: rgb(202, 200, 85);
/* oklch */ color: oklch(81.2% 0.137 108.2);
Tailwind
colors: {
  custom: {
    50: '#ddd889',
    500: '#cac855',
    950: '#000000',
  },
}
SCSS
$custom: #cac855;
$custom-light: #ddd889;
$custom-dark: #000000;
JSON
{
  "hex": "#cac855",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 58.974,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81208,
    "c": 0.13683,
    "h": 108.2
  },
  "luminance": 0.54521
}

Semantic roles & 50–950 ramp

primary
#CAC855
secondary
#3E3F85
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC855

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

Preview Lab → · Contrast checker → · Palette generator →

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