#CAC75C#CAC75C

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

Color values

HEX#CAC75C
RGBrgb(202, 199, 92)
HSLhsl(58, 51%, 58%)
HSVhsv(58, 54%, 79%)
CMYKcmyk(0%, 1.5%, 54.5%, 20.8%)
CIE-LABlab(78.57, -13.03, 53.03)
CIE-LCHlch(78.57, 54.61, 103.80°)
OKLaboklab(81.07% -0.0389 0.1236)
OKLCHoklch(81.07% 0.13 107.5)
XYZxyz(46.7136, 54.1774, 18.1197)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC75C #5C5FCA
analogous
#CA905C #CAC75C #96CA5C
triadic
#CAC75C #5CCAC7 #C75CCA
tetradic
#CAC75C #5CCA90 #5C5FCA #CA5C96
square
#CAC75C #5CCA90 #5C5FCA #CA5C96
split-complementary
#CAC75C #5C96CA #905CCA
monochromatic
#817F2A #B0AC39 #CAC75C #D9D78A #E8E7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC75C#FFFFFF#000000##000000
##CAC75C1.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)
#D6C051
Deuteranopia (green-blind)
#D8C462
Tritanopia (blue-blind)
#D7BCAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac75c;
/* rgb */ color: rgb(202, 199, 92);
/* oklch */ color: oklch(81.1% 0.130 107.5);
Tailwind
colors: {
  custom: {
    50: '#dcd78d',
    500: '#cac75c',
    950: '#000000',
  },
}
SCSS
$custom: #cac75c;
$custom-light: #dcd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac75c",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 58.364,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81071,
    "c": 0.12958,
    "h": 107.5
  },
  "luminance": 0.54176
}

Semantic roles & 50–950 ramp

primary
#CAC75C
secondary
#414389
accent
#51DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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