#CAC84F#CAC84F

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

Color values

HEX#CAC84F
RGBrgb(202, 200, 79)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 61%, 79%)
CMYKcmyk(0%, 1%, 60.9%, 20.8%)
CIE-LABlab(78.71, -14.48, 58.97)
CIE-LCHlch(78.71, 60.72, 103.79°)
OKLaboklab(81.15% -0.0445 0.1346)
OKLCHoklch(81.15% 0.142 108.3)
XYZxyz(46.4241, 54.4310, 15.4564)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC84F #4F51CA
analogous
#CA8A4F #CAC84F #8FCA4F
triadic
#CAC84F #4FCAC8 #C84FCA
tetradic
#CAC84F #4FCA8A #4F51CA #CA4F8F
square
#CAC84F #4FCA8A #4F51CA #CA4F8F
split-complementary
#CAC84F #4F8FCA #8A4FCA
monochromatic
#7A7925 #A9A733 #CAC84F #D8D77E #E6E5AD

Accessibility & contrast

On white

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

On black

11.89
#CAC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC84F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC84F#FFFFFF#000000##000000
##CAC84F1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac84f;
/* rgb */ color: rgb(202, 200, 79);
/* oklch */ color: oklch(81.1% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#ddd885',
    500: '#cac84f',
    950: '#000000',
  },
}
SCSS
$custom: #cac84f;
$custom-light: #ddd885;
$custom-dark: #000000;
JSON
{
  "hex": "#cac84f",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 59.024,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81149,
    "c": 0.14178,
    "h": 108.3
  },
  "luminance": 0.5443
}

Semantic roles & 50–950 ramp

primary
#CAC84F
secondary
#3B3C82
accent
#4DDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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