#CAC949#CAC949

#CAC949 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.147 H 108.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CAC949
RGBrgb(202, 201, 73)
HSLhsl(60, 55%, 54%)
HSVhsv(60, 64%, 79%)
CMYKcmyk(0%, 0.5%, 63.9%, 20.8%)
CIE-LABlab(78.93, -15.36, 61.70)
CIE-LCHlch(78.93, 63.58, 103.98°)
OKLaboklab(81.31% -0.0476 0.1395)
OKLCHoklch(81.31% 0.147 108.8)
XYZxyz(46.4479, 54.8122, 14.4351)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC949 #494ACA
analogous
#CA8949 #CAC949 #8BCA49
triadic
#CAC949 #49CAC9 #C949CA
tetradic
#CAC949 #49CA89 #494ACA #CA498B
square
#CAC949 #49CA89 #494ACA #CA498B
split-complementary
#CAC949 #498BCA #8949CA
monochromatic
#767622 #A6A530 #CAC949 #D8D778 #E6E5A8

Accessibility & contrast

On white

1.76
#CAC949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CAC949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC949
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC949#FFFFFF#000000##000000
##CAC9491.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac949;
/* rgb */ color: rgb(202, 201, 73);
/* oklch */ color: oklch(81.3% 0.147 108.8);
Tailwind
colors: {
  custom: {
    50: '#ddd982',
    500: '#cac949',
    950: '#000000',
  },
}
SCSS
$custom: #cac949;
$custom-light: #ddd982;
$custom-dark: #000000;
JSON
{
  "hex": "#cac949",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 59.535,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81309,
    "c": 0.14742,
    "h": 108.8
  },
  "luminance": 0.54811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC949

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

Preview Lab → · Contrast checker → · Palette generator →

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