#CAC849#CAC849

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

Color values

HEX#CAC849
RGBrgb(202, 200, 73)
HSLhsl(59, 55%, 54%)
HSVhsv(59, 64%, 79%)
CMYKcmyk(0%, 1%, 63.9%, 20.8%)
CIE-LABlab(78.66, -14.86, 61.42)
CIE-LCHlch(78.66, 63.19, 103.60°)
OKLaboklab(81.1% -0.0462 0.1389)
OKLCHoklch(81.1% 0.146 108.4)
XYZxyz(46.2155, 54.3475, 14.3577)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC849 #494BCA
analogous
#CA8849 #CAC849 #8CCA49
triadic
#CAC849 #49CAC8 #C849CA
tetradic
#CAC849 #49CA88 #494BCA #CA498C
square
#CAC849 #49CA88 #494BCA #CA498C
split-complementary
#CAC849 #498CCA #8849CA
monochromatic
#767522 #A6A430 #CAC849 #D8D678 #E6E5A8

Accessibility & contrast

On white

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

On black

11.87
#CAC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC849
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC849#FFFFFF#000000##000000
##CAC8491.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac849;
/* rgb */ color: rgb(202, 200, 73);
/* oklch */ color: oklch(81.1% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddd882',
    500: '#cac849',
    950: '#000000',
  },
}
SCSS
$custom: #cac849;
$custom-light: #ddd882;
$custom-dark: #000000;
JSON
{
  "hex": "#cac849",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 59.07,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81095,
    "c": 0.14641,
    "h": 108.4
  },
  "luminance": 0.54346
}

Semantic roles & 50–950 ramp

primary
#CAC849
secondary
#38397F
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC849

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

Preview Lab → · Contrast checker → · Palette generator →

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