#CAC93C#CAC93C

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

Color values

HEX#CAC93C
RGBrgb(202, 201, 60)
HSLhsl(60, 57%, 51%)
HSVhsv(60, 70%, 79%)
CMYKcmyk(0%, 0.5%, 70.3%, 20.8%)
CIE-LABlab(78.84, -16.07, 66.59)
CIE-LCHlch(78.84, 68.50, 103.57°)
OKLaboklab(81.21% -0.0509 0.1477)
OKLCHoklch(81.21% 0.156 109)
XYZxyz(46.0610, 54.6575, 12.3977)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93C #3C3DCA
analogous
#CA823C #CAC93C #84CA3C
triadic
#CAC93C #3CCAC9 #C93CCA
tetradic
#CAC93C #3CCA82 #3C3DCA #CA3C84
square
#CAC93C #3CCA82 #3C3DCA #CA3C84
split-complementary
#CAC93C #3C84CA #823CCA
monochromatic
#6E6D1E #9E9D2B #CAC93C #D7D66C #E4E49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC93C#FFFFFF#000000##000000
##CAC93C1.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)
#D9C123
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#D8BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93c;
/* rgb */ color: rgb(202, 201, 60);
/* oklch */ color: oklch(81.2% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#cac93c',
    950: '#000000',
  },
}
SCSS
$custom: #cac93c;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93c",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 59.577,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.8121,
    "c": 0.15625,
    "h": 109
  },
  "luminance": 0.54656
}

Semantic roles & 50–950 ramp

primary
#CAC93C
secondary
#333377
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93C

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

Preview Lab → · Contrast checker → · Palette generator →

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