#CAC95A#CAC95A

#CAC95A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.134 H 108.6°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CAC95A
RGBrgb(202, 201, 90)
HSLhsl(59, 51%, 57%)
HSVhsv(59, 55%, 79%)
CMYKcmyk(0%, 0.5%, 55.4%, 20.8%)
CIE-LABlab(79.08, -14.19, 54.53)
CIE-LCHlch(79.08, 56.35, 104.59°)
OKLaboklab(81.47% -0.0425 0.1266)
OKLCHoklch(81.47% 0.134 108.6)
XYZxyz(47.0905, 55.0693, 17.8197)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC95A #5A5BCA
analogous
#CA915A #CAC95A #93CA5A
triadic
#CAC95A #5ACAC9 #C95ACA
tetradic
#CAC95A #5ACA91 #5A5BCA #CA5A93
square
#CAC95A #5ACA91 #5A5BCA #CA5A93
split-complementary
#CAC95A #5A93CA #915ACA
monochromatic
#808029 #AFAE38 #CAC95A #D9D888 #E8E7B7

Accessibility & contrast

On white

1.75
#CAC95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CAC95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC95A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC95A#FFFFFF#000000##000000
##CAC95A1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#D7BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac95a;
/* rgb */ color: rgb(202, 201, 90);
/* oklch */ color: oklch(81.5% 0.134 108.6);
Tailwind
colors: {
  custom: {
    50: '#dcd98c',
    500: '#cac95a',
    950: '#000000',
  },
}
SCSS
$custom: #cac95a;
$custom-light: #dcd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac95a",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 59.464,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81475,
    "c": 0.13352,
    "h": 108.6
  },
  "luminance": 0.55068
}

Semantic roles & 50–950 ramp

primary
#CAC95A
secondary
#404188
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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