#CAC366#CAC366

#CAC366 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.116 H 104.8°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CAC366
RGBrgb(202, 195, 102)
HSLhsl(56, 49%, 60%)
HSVhsv(56, 50%, 79%)
CMYKcmyk(0%, 3.5%, 49.5%, 20.8%)
CIE-LABlab(77.61, -10.14, 47.19)
CIE-LCHlch(77.61, 48.27, 102.13°)
OKLaboklab(80.34% -0.0297 0.1119)
OKLCHoklch(80.34% 0.116 104.8)
XYZxyz(46.2717, 52.5474, 20.2730)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC366 #666DCA
analogous
#CA9166 #CAC366 #9FCA66
triadic
#CAC366 #66CAC3 #C366CA
tetradic
#CAC366 #66CA91 #666DCA #CA669F
square
#CAC366 #66CA91 #666DCA #CA669F
split-complementary
#CAC366 #669FCA #9166CA
monochromatic
#87812F #B4AC3E #CAC366 #DAD593 #E9E7C1

Accessibility & contrast

On white

1.82
#CAC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CAC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC366
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC366#FFFFFF#000000##000000
##CAC3661.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#D6B8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac366;
/* rgb */ color: rgb(202, 195, 102);
/* oklch */ color: oklch(80.3% 0.116 104.8);
Tailwind
colors: {
  custom: {
    50: '#dcd594',
    500: '#cac366',
    950: '#000000',
  },
}
SCSS
$custom: #cac366;
$custom-light: #dcd594;
$custom-dark: #000000;
JSON
{
  "hex": "#cac366",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 55.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.11574,
    "h": 104.8
  },
  "luminance": 0.52546
}

Semantic roles & 50–950 ramp

primary
#CAC366
secondary
#464B8E
accent
#59D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC366

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

Preview Lab → · Contrast checker → · Palette generator →

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