#CAC45A#CAC45A

#CAC45A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.128 H 106.0°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CAC45A
RGBrgb(202, 196, 90)
HSLhsl(57, 51%, 57%)
HSVhsv(57, 55%, 79%)
CMYKcmyk(0%, 3%, 55.4%, 20.8%)
CIE-LABlab(77.74, -11.66, 53.01)
CIE-LCHlch(77.74, 54.28, 102.40°)
OKLaboklab(80.41% -0.0353 0.1233)
OKLCHoklch(80.41% 0.128 106)
XYZxyz(45.9439, 52.7760, 17.4375)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC45A #5A60CA
analogous
#CA8C5A #CAC45A #98CA5A
triadic
#CAC45A #5ACAC4 #C45ACA
tetradic
#CAC45A #5ACA8C #5A60CA #CA5A98
square
#CAC45A #5ACA8C #5A60CA #CA5A98
split-complementary
#CAC45A #5A98CA #8C5ACA
monochromatic
#807C29 #AFA838 #CAC45A #D9D588 #E8E5B7

Accessibility & contrast

On white

1.82
#CAC45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#CAC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC45A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC45A#FFFFFF#000000##000000
##CAC45A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4F
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#D7B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac45a;
/* rgb */ color: rgb(202, 196, 90);
/* oklch */ color: oklch(80.4% 0.128 106.0);
Tailwind
colors: {
  custom: {
    50: '#dcd58c',
    500: '#cac45a',
    950: '#000000',
  },
}
SCSS
$custom: #cac45a;
$custom-light: #dcd58c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac45a",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 56.786,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80409,
    "c": 0.12827,
    "h": 106
  },
  "luminance": 0.52775
}

Semantic roles & 50–950 ramp

primary
#CAC45A
secondary
#404488
accent
#55DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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