#CAC049#CAC049

#CAC049 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.139 H 104.5°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CAC049
RGBrgb(202, 192, 73)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 64%, 79%)
CMYKcmyk(0%, 5%, 63.9%, 20.8%)
CIE-LABlab(76.52, -10.80, 59.16)
CIE-LCHlch(76.52, 60.14, 100.35°)
OKLaboklab(79.39% -0.0347 0.1342)
OKLCHoklch(79.39% 0.139 104.5)
XYZxyz(44.4110, 50.7385, 13.7562)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC049 #4953CA
analogous
#CA8049 #CAC049 #94CA49
triadic
#CAC049 #49CAC0 #C049CA
tetradic
#CAC049 #49CA80 #4953CA #CA4994
square
#CAC049 #49CA80 #4953CA #CA4994
split-complementary
#CAC049 #4994CA #8049CA
monochromatic
#767022 #A69C30 #CAC049 #D8D078 #E6E1A8

Accessibility & contrast

On white

1.88
#CAC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CAC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC049
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC049#FFFFFF#000000##000000
##CAC0491.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3A
Deuteranopia (green-blind)
#D4BF50
Tritanopia (blue-blind)
#D8B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac049;
/* rgb */ color: rgb(202, 192, 73);
/* oklch */ color: oklch(79.4% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#ddd281',
    500: '#cac049',
    950: '#000000',
  },
}
SCSS
$custom: #cac049;
$custom-light: #ddd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cac049",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 55.349,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79387,
    "c": 0.13859,
    "h": 104.5
  },
  "luminance": 0.50737
}

Semantic roles & 50–950 ramp

primary
#CAC049
secondary
#383E7F
accent
#55DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC049

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

Preview Lab → · Contrast checker → · Palette generator →

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