#CAC85A#CAC85A

#CAC85A is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.132 H 108.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CAC85A
RGBrgb(202, 200, 90)
HSLhsl(59, 51%, 57%)
HSVhsv(59, 55%, 79%)
CMYKcmyk(0%, 1%, 55.4%, 20.8%)
CIE-LABlab(78.81, -13.69, 54.23)
CIE-LCHlch(78.81, 55.93, 104.16°)
OKLaboklab(81.26% -0.0411 0.1259)
OKLCHoklch(81.26% 0.132 108.1)
XYZxyz(46.8582, 54.6046, 17.7423)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC85A #5A5CCA
analogous
#CA905A #CAC85A #94CA5A
triadic
#CAC85A #5ACAC8 #C85ACA
tetradic
#CAC85A #5ACA90 #5A5CCA #CA5A94
square
#CAC85A #5ACA90 #5A5CCA #CA5A94
split-complementary
#CAC85A #5A94CA #905ACA
monochromatic
#807F29 #AFAD38 #CAC85A #D9D788 #E8E7B7

Accessibility & contrast

On white

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

On black

11.92
#CAC85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC85A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC85A#FFFFFF#000000##000000
##CAC85A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14F
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#D7BDB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac85a;
/* rgb */ color: rgb(202, 200, 90);
/* oklch */ color: oklch(81.3% 0.132 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd88c',
    500: '#cac85a',
    950: '#000000',
  },
}
SCSS
$custom: #cac85a;
$custom-light: #dcd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac85a",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 58.929,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81262,
    "c": 0.13245,
    "h": 108.1
  },
  "luminance": 0.54603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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