#CAC85F#CAC85F

#CAC85F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.128 H 107.9°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CAC85F
RGBrgb(202, 200, 95)
HSLhsl(59, 50%, 58%)
HSVhsv(59, 53%, 79%)
CMYKcmyk(0%, 1%, 53%, 20.8%)
CIE-LABlab(78.86, -13.29, 51.99)
CIE-LCHlch(78.86, 53.66, 104.34°)
OKLaboklab(81.32% -0.0394 0.1217)
OKLCHoklch(81.32% 0.128 107.9)
XYZxyz(47.0782, 54.6926, 18.9010)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC85F #5F61CA
analogous
#CA935F #CAC85F #96CA5F
triadic
#CAC85F #5FCAC8 #C85FCA
tetradic
#CAC85F #5FCA93 #5F61CA #CA5F96
square
#CAC85F #5FCA93 #5F61CA #CA5F96
split-complementary
#CAC85F #5F96CA #935FCA
monochromatic
#83822B #B1AF3B #CAC85F #D9D88D #E8E8BB

Accessibility & contrast

On white

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

On black

11.94
#CAC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC85F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC85F#FFFFFF#000000##000000
##CAC85F1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac85f;
/* rgb */ color: rgb(202, 200, 95);
/* oklch */ color: oklch(81.3% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcd88f',
    500: '#cac85f',
    950: '#000000',
  },
}
SCSS
$custom: #cac85f;
$custom-light: #dcd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac85f",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 58.879,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81318,
    "c": 0.12788,
    "h": 107.9
  },
  "luminance": 0.54691
}

Semantic roles & 50–950 ramp

primary
#CAC85F
secondary
#43448B
accent
#51DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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