#CAC73A#CAC73A

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

Color values

HEX#CAC73A
RGBrgb(202, 199, 58)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 71%, 79%)
CMYKcmyk(0%, 1.5%, 71.3%, 20.8%)
CIE-LABlab(78.29, -15.17, 66.76)
CIE-LCHlch(78.29, 68.46, 102.80°)
OKLaboklab(80.77% -0.0486 0.1478)
OKLCHoklch(80.77% 0.156 108.2)
XYZxyz(45.5460, 53.7104, 11.9701)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC73A #3A3DCA
analogous
#CA7F3A #CAC73A #85CA3A
triadic
#CAC73A #3ACAC7 #C73ACA
tetradic
#CAC73A #3ACA7F #3A3DCA #CA3A85
square
#CAC73A #3ACA7F #3A3DCA #CA3A85
split-complementary
#CAC73A #3A85CA #7F3ACA
monochromatic
#6C6B1D #9D9A2A #CAC73A #D7D56A #E4E29A

Accessibility & contrast

On white

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

On black

11.74
#CAC73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC73A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC73A#FFFFFF#000000##000000
##CAC73A1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac73a;
/* rgb */ color: rgb(202, 199, 58);
/* oklch */ color: oklch(80.8% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded77a',
    500: '#cac73a',
    950: '#000000',
  },
}
SCSS
$custom: #cac73a;
$custom-light: #ded77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac73a",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 58.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80766,
    "c": 0.15553,
    "h": 108.2
  },
  "luminance": 0.53709
}

Semantic roles & 50–950 ramp

primary
#CAC73A
secondary
#323476
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC73A

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

Preview Lab → · Contrast checker → · Palette generator →

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