#CAC75A#CAC75A

#CAC75A is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.131 H 107.5°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CAC75A
RGBrgb(202, 199, 90)
HSLhsl(58, 51%, 57%)
HSVhsv(58, 55%, 79%)
CMYKcmyk(0%, 1.5%, 55.4%, 20.8%)
CIE-LABlab(78.55, -13.18, 53.93)
CIE-LCHlch(78.55, 55.52, 103.74°)
OKLaboklab(81.05% -0.0396 0.1253)
OKLCHoklch(81.05% 0.131 107.5)
XYZxyz(46.6273, 54.1429, 17.6653)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC75A #5A5DCA
analogous
#CA8F5A #CAC75A #95CA5A
triadic
#CAC75A #5ACAC7 #C75ACA
tetradic
#CAC75A #5ACA8F #5A5DCA #CA5A95
square
#CAC75A #5ACA8F #5A5DCA #CA5A95
split-complementary
#CAC75A #5A95CA #8F5ACA
monochromatic
#807E29 #AFAC38 #CAC75A #D9D788 #E8E6B7

Accessibility & contrast

On white

1.78
#CAC75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CAC75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC75A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC75A#FFFFFF#000000##000000
##CAC75A1.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac75a;
/* rgb */ color: rgb(202, 199, 90);
/* oklch */ color: oklch(81.0% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#dcd78c',
    500: '#cac75a',
    950: '#000000',
  },
}
SCSS
$custom: #cac75a;
$custom-light: #dcd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac75a",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 58.393,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81048,
    "c": 0.13139,
    "h": 107.5
  },
  "luminance": 0.54142
}

Semantic roles & 50–950 ramp

primary
#CAC75A
secondary
#404288
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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