#CAC84D#CAC84D

#CAC84D is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.143 H 108.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CAC84D
RGBrgb(202, 200, 77)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 62%, 79%)
CMYKcmyk(0%, 1%, 61.9%, 20.8%)
CIE-LABlab(78.70, -14.61, 59.79)
CIE-LCHlch(78.70, 61.55, 103.73°)
OKLaboklab(81.13% -0.0451 0.1361)
OKLCHoklch(81.13% 0.143 108.3)
XYZxyz(46.3524, 54.4023, 15.0787)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC84D #4D4FCA
analogous
#CA8A4D #CAC84D #8ECA4D
triadic
#CAC84D #4DCAC8 #C84DCA
tetradic
#CAC84D #4DCA8A #4D4FCA #CA4D8E
square
#CAC84D #4DCA8A #4D4FCA #CA4D8E
split-complementary
#CAC84D #4D8ECA #8A4DCA
monochromatic
#797724 #A8A632 #CAC84D #D8D77C #E6E5AB

Accessibility & contrast

On white

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

On black

11.88
#CAC84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC84D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC84D#FFFFFF#000000##000000
##CAC84D1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03E
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac84d;
/* rgb */ color: rgb(202, 200, 77);
/* oklch */ color: oklch(81.1% 0.143 108.3);
Tailwind
colors: {
  custom: {
    50: '#ddd884',
    500: '#cac84d',
    950: '#000000',
  },
}
SCSS
$custom: #cac84d;
$custom-light: #ddd884;
$custom-dark: #000000;
JSON
{
  "hex": "#cac84d",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 59.04,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8113,
    "c": 0.14336,
    "h": 108.3
  },
  "luminance": 0.54401
}

Semantic roles & 50–950 ramp

primary
#CAC84D
secondary
#3A3B81
accent
#4DDD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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