#CAC746#CAC746

#CAC746 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.148 H 108.0°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CAC746
RGBrgb(202, 199, 70)
HSLhsl(59, 55%, 53%)
HSVhsv(59, 65%, 79%)
CMYKcmyk(0%, 1.5%, 65.3%, 20.8%)
CIE-LABlab(78.37, -14.53, 62.32)
CIE-LCHlch(78.37, 64.00, 103.13°)
OKLaboklab(80.86% -0.0456 0.1404)
OKLCHoklch(80.86% 0.148 108)
XYZxyz(45.8876, 53.8470, 13.7695)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC746 #4649CA
analogous
#CA8546 #CAC746 #8BCA46
triadic
#CAC746 #46CAC7 #C746CA
tetradic
#CAC746 #46CA85 #4649CA #CA468B
square
#CAC746 #46CA85 #4649CA #CA468B
split-complementary
#CAC746 #468BCA #8546CA
monochromatic
#747221 #A4A12F #CAC746 #D8D576 #E5E4A5

Accessibility & contrast

On white

1.78
#CAC746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CAC746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC746
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC746#FFFFFF#000000##000000
##CAC7461.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF34
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac746;
/* rgb */ color: rgb(202, 199, 70);
/* oklch */ color: oklch(80.9% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddd780',
    500: '#cac746',
    950: '#000000',
  },
}
SCSS
$custom: #cac746;
$custom-light: #ddd780;
$custom-dark: #000000;
JSON
{
  "hex": "#cac746",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 70
  },
  "hsl": {
    "h": 58.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.1476,
    "h": 108
  },
  "luminance": 0.53846
}

Semantic roles & 50–950 ramp

primary
#CAC746
secondary
#37397D
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC746

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

Preview Lab → · Contrast checker → · Palette generator →

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