#CAC93D#CAC93D

#CAC93D 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#CAC93D
RGBrgb(202, 201, 61)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 70%, 79%)
CMYKcmyk(0%, 0.5%, 69.8%, 20.8%)
CIE-LABlab(78.85, -16.02, 66.23)
CIE-LCHlch(78.85, 68.14, 103.60°)
OKLaboklab(81.22% -0.0507 0.1471)
OKLCHoklch(81.22% 0.156 109)
XYZxyz(46.0877, 54.6682, 12.5382)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93D #3D3ECA
analogous
#CA823D #CAC93D #85CA3D
triadic
#CAC93D #3DCAC9 #C93DCA
tetradic
#CAC93D #3DCA82 #3D3ECA #CA3D85
square
#CAC93D #3DCA82 #3D3ECA #CA3D85
split-complementary
#CAC93D #3D85CA #823DCA
monochromatic
#6E6E1E #9F9E2B #CAC93D #D7D66D #E4E49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC93D#FFFFFF#000000##000000
##CAC93D1.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)
#D9C125
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93d;
/* rgb */ color: rgb(202, 201, 61);
/* oklch */ color: oklch(81.2% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#cac93d',
    950: '#000000',
  },
}
SCSS
$custom: #cac93d;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93d",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 61
  },
  "hsl": {
    "h": 59.574,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.15563,
    "h": 109
  },
  "luminance": 0.54667
}

Semantic roles & 50–950 ramp

primary
#CAC93D
secondary
#333478
accent
#49E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93D

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

Preview Lab → · Contrast checker → · Palette generator →

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