#CAC845#CAC845

#CAC845 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.149 H 108.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CAC845
RGBrgb(202, 200, 69)
HSLhsl(59, 56%, 53%)
HSVhsv(59, 66%, 79%)
CMYKcmyk(0%, 1%, 65.8%, 20.8%)
CIE-LABlab(78.63, -15.09, 62.99)
CIE-LCHlch(78.63, 64.77, 103.48°)
OKLaboklab(81.06% -0.0473 0.1416)
OKLCHoklch(81.06% 0.149 108.5)
XYZxyz(46.0872, 54.2962, 13.6816)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC845 #4547CA
analogous
#CA8545 #CAC845 #89CA45
triadic
#CAC845 #45CAC8 #C845CA
tetradic
#CAC845 #45CA85 #4547CA #CA4589
square
#CAC845 #45CA85 #4547CA #CA4589
split-complementary
#CAC845 #4589CA #8545CA
monochromatic
#747221 #A3A22F #CAC845 #D8D675 #E5E4A4

Accessibility & contrast

On white

1.77
#CAC845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CAC845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC845
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC845#FFFFFF#000000##000000
##CAC8451.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D8BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac845;
/* rgb */ color: rgb(202, 200, 69);
/* oklch */ color: oklch(81.1% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#ddd880',
    500: '#cac845',
    950: '#000000',
  },
}
SCSS
$custom: #cac845;
$custom-light: #ddd880;
$custom-dark: #000000;
JSON
{
  "hex": "#cac845",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 69
  },
  "hsl": {
    "h": 59.098,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81062,
    "c": 0.14931,
    "h": 108.5
  },
  "luminance": 0.54295
}

Semantic roles & 50–950 ramp

primary
#CAC845
secondary
#37387D
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC845

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

Preview Lab → · Contrast checker → · Palette generator →

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