#CAC94E#CAC94E

#CAC94E is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.144 H 108.8°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CAC94E
RGBrgb(202, 201, 78)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 79%)
CMYKcmyk(0%, 0.5%, 61.4%, 20.8%)
CIE-LABlab(78.97, -15.05, 59.67)
CIE-LCHlch(78.97, 61.54, 104.15°)
OKLaboklab(81.35% -0.0462 0.136)
OKLCHoklch(81.35% 0.144 108.8)
XYZxyz(46.6204, 54.8812, 15.3436)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC94E #4E4FCA
analogous
#CA8B4E #CAC94E #8DCA4E
triadic
#CAC94E #4ECAC9 #C94ECA
tetradic
#CAC94E #4ECA8B #4E4FCA #CA4E8D
square
#CAC94E #4ECA8B #4E4FCA #CA4E8D
split-complementary
#CAC94E #4E8DCA #8B4ECA
monochromatic
#797924 #A8A732 #CAC94E #D8D77D #E6E6AC

Accessibility & contrast

On white

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

On black

11.98
#CAC94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC94E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC94E#FFFFFF#000000##000000
##CAC94E1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#DAC655
Tritanopia (blue-blind)
#D7BDAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac94e;
/* rgb */ color: rgb(202, 201, 78);
/* oklch */ color: oklch(81.4% 0.144 108.8);
Tailwind
colors: {
  custom: {
    50: '#ddd985',
    500: '#cac94e',
    950: '#000000',
  },
}
SCSS
$custom: #cac94e;
$custom-light: #ddd985;
$custom-dark: #000000;
JSON
{
  "hex": "#cac94e",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 59.516,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.1436,
    "h": 108.8
  },
  "luminance": 0.5488
}

Semantic roles & 50–950 ramp

primary
#CAC94E
secondary
#3B3B82
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC94E

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

Preview Lab → · Contrast checker → · Palette generator →

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