#CAC73B#CAC73B

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

Color values

HEX#CAC73B
RGBrgb(202, 199, 59)
HSLhsl(59, 57%, 51%)
HSVhsv(59, 71%, 79%)
CMYKcmyk(0%, 1.5%, 70.8%, 20.8%)
CIE-LABlab(78.30, -15.12, 66.41)
CIE-LCHlch(78.30, 68.11, 102.82°)
OKLaboklab(80.77% -0.0483 0.1472)
OKLCHoklch(80.77% 0.155 108.2)
XYZxyz(45.5717, 53.7206, 12.1054)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC73B #3B3ECA
analogous
#CA7F3B #CAC73B #85CA3B
triadic
#CAC73B #3BCAC7 #C73BCA
tetradic
#CAC73B #3BCA7F #3B3ECA #CA3B85
square
#CAC73B #3BCA7F #3B3ECA #CA3B85
split-complementary
#CAC73B #3B85CA #7F3BCA
monochromatic
#6D6B1E #9D9B2B #CAC73B #D7D56B #E4E39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC73B#FFFFFF#000000##000000
##CAC73B1.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)
#D7BF22
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac73b;
/* rgb */ color: rgb(202, 199, 59);
/* oklch */ color: oklch(80.8% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded77a',
    500: '#cac73b',
    950: '#000000',
  },
}
SCSS
$custom: #cac73b;
$custom-light: #ded77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac73b",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 58.741,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80773,
    "c": 0.15492,
    "h": 108.2
  },
  "luminance": 0.53719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC73B

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

Preview Lab → · Contrast checker → · Palette generator →

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