#CAC73D#CAC73D

#CAC73D is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.154 H 108.2°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CAC73D
RGBrgb(202, 199, 61)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 70%, 79%)
CMYKcmyk(0%, 1.5%, 69.8%, 20.8%)
CIE-LABlab(78.31, -15.02, 65.70)
CIE-LCHlch(78.31, 67.40, 102.88°)
OKLaboklab(80.79% -0.0479 0.146)
OKLCHoklch(80.79% 0.154 108.2)
XYZxyz(45.6245, 53.7418, 12.3838)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC73D #3D40CA
analogous
#CA813D #CAC73D #87CA3D
triadic
#CAC73D #3DCAC7 #C73DCA
tetradic
#CAC73D #3DCA81 #3D40CA #CA3D87
square
#CAC73D #3DCA81 #3D40CA #CA3D87
split-complementary
#CAC73D #3D87CA #813DCA
monochromatic
#6E6D1E #9F9C2B #CAC73D #D7D56D #E4E39D

Accessibility & contrast

On white

1.79
#CAC73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CAC73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC73D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC73D#FFFFFF#000000##000000
##CAC73D1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF26
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac73d;
/* rgb */ color: rgb(202, 199, 61);
/* oklch */ color: oklch(80.8% 0.154 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded77b',
    500: '#cac73d',
    950: '#000000',
  },
}
SCSS
$custom: #cac73d;
$custom-light: #ded77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac73d",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 58.723,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80786,
    "c": 0.15368,
    "h": 108.2
  },
  "luminance": 0.5374
}

Semantic roles & 50–950 ramp

primary
#CAC73D
secondary
#333578
accent
#4BE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC73D

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

Preview Lab → · Contrast checker → · Palette generator →

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