#CAC85E#CAC85E

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

Color values

HEX#CAC85E
RGBrgb(202, 200, 94)
HSLhsl(59, 50%, 58%)
HSVhsv(59, 53%, 79%)
CMYKcmyk(0%, 1%, 53.5%, 20.8%)
CIE-LABlab(78.85, -13.37, 52.44)
CIE-LCHlch(78.85, 54.12, 104.30°)
OKLaboklab(81.31% -0.0397 0.1225)
OKLCHoklch(81.31% 0.129 108)
XYZxyz(47.0330, 54.6745, 18.6632)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC85E #5E60CA
analogous
#CA925E #CAC85E #96CA5E
triadic
#CAC85E #5ECAC8 #C85ECA
tetradic
#CAC85E #5ECA92 #5E60CA #CA5E96
square
#CAC85E #5ECA92 #5E60CA #CA5E96
split-complementary
#CAC85E #5E96CA #925ECA
monochromatic
#83812B #B1AE3A #CAC85E #D9D88C #E8E7BA

Accessibility & contrast

On white

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

On black

11.93
#CAC85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC85E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC85E#FFFFFF#000000##000000
##CAC85E1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac85e;
/* rgb */ color: rgb(202, 200, 94);
/* oklch */ color: oklch(81.3% 0.129 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcd88f',
    500: '#cac85e',
    950: '#000000',
  },
}
SCSS
$custom: #cac85e;
$custom-light: #dcd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac85e",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 58.889,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81307,
    "c": 0.12881,
    "h": 108
  },
  "luminance": 0.54673
}

Semantic roles & 50–950 ramp

primary
#CAC85E
secondary
#42438A
accent
#50DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC85E

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

Preview Lab → · Contrast checker → · Palette generator →

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