#CAC846#CAC846

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

Color values

HEX#CAC846
RGBrgb(202, 200, 70)
HSLhsl(59, 55%, 53%)
HSVhsv(59, 65%, 79%)
CMYKcmyk(0%, 1%, 65.3%, 20.8%)
CIE-LABlab(78.64, -15.04, 62.60)
CIE-LCHlch(78.64, 64.38, 103.51°)
OKLaboklab(81.07% -0.047 0.141)
OKLCHoklch(81.07% 0.149 108.4)
XYZxyz(46.1185, 54.3087, 13.8464)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC846 #4648CA
analogous
#CA8646 #CAC846 #8ACA46
triadic
#CAC846 #46CAC8 #C846CA
tetradic
#CAC846 #46CA86 #4648CA #CA468A
square
#CAC846 #46CA86 #4648CA #CA468A
split-complementary
#CAC846 #468ACA #8646CA
monochromatic
#747321 #A4A22F #CAC846 #D8D676 #E5E4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC846#FFFFFF#000000##000000
##CAC8461.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)
#D8C034
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac846;
/* rgb */ color: rgb(202, 200, 70);
/* oklch */ color: oklch(81.1% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddd880',
    500: '#cac846',
    950: '#000000',
  },
}
SCSS
$custom: #cac846;
$custom-light: #ddd880;
$custom-dark: #000000;
JSON
{
  "hex": "#cac846",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 59.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8107,
    "c": 0.1486,
    "h": 108.4
  },
  "luminance": 0.54307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC846

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

Preview Lab → · Contrast checker → · Palette generator →

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