#CAC75D#CAC75D

#CAC75D is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.129 H 107.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CAC75D
RGBrgb(202, 199, 93)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 54%, 79%)
CMYKcmyk(0%, 1.5%, 54%, 20.8%)
CIE-LABlab(78.58, -12.95, 52.59)
CIE-LCHlch(78.58, 54.16, 103.83°)
OKLaboklab(81.08% -0.0386 0.1227)
OKLCHoklch(81.08% 0.129 107.5)
XYZxyz(46.7576, 54.1950, 18.3514)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC75D #5D60CA
analogous
#CA915D #CAC75D #96CA5D
triadic
#CAC75D #5DCAC7 #C75DCA
tetradic
#CAC75D #5DCA91 #5D60CA #CA5D96
square
#CAC75D #5DCA91 #5D60CA #CA5D96
split-complementary
#CAC75D #5D96CA #915DCA
monochromatic
#82802B #B0AD3A #CAC75D #D9D78B #E8E7B9

Accessibility & contrast

On white

1.77
#CAC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CAC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC75D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC75D#FFFFFF#000000##000000
##CAC75D1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C052
Deuteranopia (green-blind)
#D8C463
Tritanopia (blue-blind)
#D7BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac75d;
/* rgb */ color: rgb(202, 199, 93);
/* oklch */ color: oklch(81.1% 0.129 107.5);
Tailwind
colors: {
  custom: {
    50: '#dcd78e',
    500: '#cac75d',
    950: '#000000',
  },
}
SCSS
$custom: #cac75d;
$custom-light: #dcd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac75d",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 58.349,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81082,
    "c": 0.12866,
    "h": 107.5
  },
  "luminance": 0.54194
}

Semantic roles & 50–950 ramp

primary
#CAC75D
secondary
#42448A
accent
#51DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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