#CAC05C#CAC05C

#CAC05C is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.122 H 103.6°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CAC05C
RGBrgb(202, 192, 92)
HSLhsl(55, 51%, 58%)
HSVhsv(55, 54%, 79%)
CMYKcmyk(0%, 5%, 54.5%, 20.8%)
CIE-LABlab(76.70, -9.46, 50.89)
CIE-LCHlch(76.70, 51.76, 100.53°)
OKLaboklab(79.58% -0.0288 0.119)
OKLCHoklch(79.58% 0.122 103.6)
XYZxyz(45.1399, 51.0301, 17.5951)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC05C #5C66CA
analogous
#CA895C #CAC05C #9DCA5C
triadic
#CAC05C #5CCAC0 #C05CCA
tetradic
#CAC05C #5CCA89 #5C66CA #CA5C9D
square
#CAC05C #5CCA89 #5C66CA #CA5C9D
split-complementary
#CAC05C #5C9DCA #895CCA
monochromatic
#817A2A #B0A539 #CAC05C #D9D28A #E8E4B8

Accessibility & contrast

On white

1.87
#CAC05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CAC05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC05C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC05C#FFFFFF#000000##000000
##CAC05C1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA52
Deuteranopia (green-blind)
#D2C061
Tritanopia (blue-blind)
#D7B5AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac05c;
/* rgb */ color: rgb(202, 192, 92);
/* oklch */ color: oklch(79.6% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcd28d',
    500: '#cac05c',
    950: '#000000',
  },
}
SCSS
$custom: #cac05c;
$custom-light: #dcd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac05c",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 54.545,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79585,
    "c": 0.12239,
    "h": 103.6
  },
  "luminance": 0.51029
}

Semantic roles & 50–950 ramp

primary
#CAC05C
secondary
#414889
accent
#5ADA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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