#CAC92A#CAC92A

#CAC92A is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.1% C 0.166 H 109.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CAC92A
RGBrgb(202, 201, 42)
HSLhsl(60, 66%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0%, 0.5%, 79.2%, 20.8%)
CIE-LABlab(78.75, -16.81, 72.22)
CIE-LCHlch(78.75, 74.15, 103.10°)
OKLaboklab(81.11% -0.0545 0.1565)
OKLCHoklch(81.11% 0.166 109.2)
XYZxyz(45.6635, 54.4985, 10.3039)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC92A #2A2BCA
analogous
#CA792A #CAC92A #7BCA2A
triadic
#CAC92A #2ACAC9 #C92ACA
tetradic
#CAC92A #2ACA79 #2A2BCA #CA2A7B
square
#CAC92A #2ACA79 #2A2BCA #CA2A7B
split-complementary
#CAC92A #2A7BCA #792ACA
monochromatic
#656415 #97971F #CAC92A #DCDB55 #E6E688

Accessibility & contrast

On white

1.76
#CAC92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CAC92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC92A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC92A#FFFFFF#000000##000000
##CAC92A1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DCC539
Tritanopia (blue-blind)
#D9BCAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac92a;
/* rgb */ color: rgb(202, 201, 42);
/* oklch */ color: oklch(81.1% 0.166 109.2);
Tailwind
colors: {
  custom: {
    50: '#ded973',
    500: '#cac92a',
    950: '#000000',
  },
}
SCSS
$custom: #cac92a;
$custom-light: #ded973;
$custom-dark: #000000;
JSON
{
  "hex": "#cac92a",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 59.625,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81107,
    "c": 0.16572,
    "h": 109.2
  },
  "luminance": 0.54497
}

Semantic roles & 50–950 ramp

primary
#CAC92A
secondary
#292A6F
accent
#40E93F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC92A

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

Preview Lab → · Contrast checker → · Palette generator →

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