#CAC94F#CAC94F

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

Color values

HEX#CAC94F
RGBrgb(202, 201, 79)
HSLhsl(60, 54%, 55%)
HSVhsv(60, 61%, 79%)
CMYKcmyk(0%, 0.5%, 60.9%, 20.8%)
CIE-LABlab(78.98, -14.98, 59.26)
CIE-LCHlch(78.98, 61.12, 104.19°)
OKLaboklab(81.36% -0.0459 0.1352)
OKLCHoklch(81.36% 0.143 108.7)
XYZxyz(46.6565, 54.8957, 15.5338)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC94F #4F50CA
analogous
#CA8B4F #CAC94F #8ECA4F
triadic
#CAC94F #4FCAC9 #C94FCA
tetradic
#CAC94F #4FCA8B #4F50CA #CA4F8E
square
#CAC94F #4FCA8B #4F50CA #CA4F8E
split-complementary
#CAC94F #4F8ECA #8B4FCA
monochromatic
#7A7925 #A9A833 #CAC94F #D8D77E #E6E6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC94F#FFFFFF#000000##000000
##CAC94F1.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)
#D8C140
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#D7BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cac94f;
/* rgb */ color: rgb(202, 201, 79);
/* oklch */ color: oklch(81.4% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddd986',
    500: '#cac94f',
    950: '#000000',
  },
}
SCSS
$custom: #cac94f;
$custom-light: #ddd986;
$custom-dark: #000000;
JSON
{
  "hex": "#cac94f",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 59.512,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81363,
    "c": 0.14282,
    "h": 108.7
  },
  "luminance": 0.54894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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