#CAC05A#CAC05A

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

Color values

HEX#CAC05A
RGBrgb(202, 192, 90)
HSLhsl(55, 51%, 57%)
HSVhsv(55, 55%, 79%)
CMYKcmyk(0%, 5%, 55.4%, 20.8%)
CIE-LABlab(76.68, -9.61, 51.80)
CIE-LCHlch(76.68, 52.68, 100.52°)
OKLaboklab(79.56% -0.0294 0.1207)
OKLCHoklch(79.56% 0.124 103.7)
XYZxyz(45.0537, 50.9955, 17.1408)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC05A #5A64CA
analogous
#CA885A #CAC05A #9CCA5A
triadic
#CAC05A #5ACAC0 #C05ACA
tetradic
#CAC05A #5ACA88 #5A64CA #CA5A9C
square
#CAC05A #5ACA88 #5A64CA #CA5A9C
split-complementary
#CAC05A #5A9CCA #885ACA
monochromatic
#807929 #AFA438 #CAC05A #D9D288 #E8E3B7

Accessibility & contrast

On white

1.88
#CAC05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CAC05A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC05A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC05A#FFFFFF#000000##000000
##CAC05A1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D2C05F
Tritanopia (blue-blind)
#D7B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac05a;
/* rgb */ color: rgb(202, 192, 90);
/* oklch */ color: oklch(79.6% 0.124 103.7);
Tailwind
colors: {
  custom: {
    50: '#dcd28c',
    500: '#cac05a',
    950: '#000000',
  },
}
SCSS
$custom: #cac05a;
$custom-light: #dcd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac05a",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 54.643,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79562,
    "c": 0.12424,
    "h": 103.7
  },
  "luminance": 0.50994
}

Semantic roles & 50–950 ramp

primary
#CAC05A
secondary
#404788
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC05A

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

Preview Lab → · Contrast checker → · Palette generator →

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