#CAC95C#CAC95C

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

Color values

HEX#CAC95C
RGBrgb(202, 201, 92)
HSLhsl(59, 51%, 58%)
HSVhsv(59, 54%, 79%)
CMYKcmyk(0%, 0.5%, 54.5%, 20.8%)
CIE-LABlab(79.10, -14.04, 53.65)
CIE-LCHlch(79.10, 55.45, 104.66°)
OKLaboklab(81.5% -0.0418 0.1249)
OKLCHoklch(81.5% 0.132 108.5)
XYZxyz(47.1768, 55.1038, 18.2741)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC95C #5C5DCA
analogous
#CA925C #CAC95C #94CA5C
triadic
#CAC95C #5CCAC9 #C95CCA
tetradic
#CAC95C #5CCA92 #5C5DCA #CA5C94
square
#CAC95C #5CCA92 #5C5DCA #CA5C94
split-complementary
#CAC95C #5C94CA #925CCA
monochromatic
#81812A #B0AF39 #CAC95C #D9D88A #E8E8B8

Accessibility & contrast

On white

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

On black

12.02
#CAC95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC95C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC95C#FFFFFF#000000##000000
##CAC95C1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac95c;
/* rgb */ color: rgb(202, 201, 92);
/* oklch */ color: oklch(81.5% 0.132 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcd98e',
    500: '#cac95c',
    950: '#000000',
  },
}
SCSS
$custom: #cac95c;
$custom-light: #dcd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac95c",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 59.455,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.13172,
    "h": 108.5
  },
  "luminance": 0.55103
}

Semantic roles & 50–950 ramp

primary
#CAC95C
secondary
#414289
accent
#4FDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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