#CAC745#CAC745

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

Color values

HEX#CAC745
RGBrgb(202, 199, 69)
HSLhsl(59, 56%, 53%)
HSVhsv(59, 66%, 79%)
CMYKcmyk(0%, 1.5%, 65.8%, 20.8%)
CIE-LABlab(78.37, -14.59, 62.71)
CIE-LCHlch(78.37, 64.39, 103.10°)
OKLaboklab(80.85% -0.0459 0.1411)
OKLCHoklch(80.85% 0.148 108)
XYZxyz(45.8563, 53.8345, 13.6046)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC745 #4548CA
analogous
#CA8545 #CAC745 #8ACA45
triadic
#CAC745 #45CAC7 #C745CA
tetradic
#CAC745 #45CA85 #4548CA #CA458A
square
#CAC745 #45CA85 #4548CA #CA458A
split-complementary
#CAC745 #458ACA #8545CA
monochromatic
#747221 #A3A12F #CAC745 #D8D575 #E5E4A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC745#FFFFFF#000000##000000
##CAC7451.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)
#D7BF33
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac745;
/* rgb */ color: rgb(202, 199, 69);
/* oklch */ color: oklch(80.8% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddd780',
    500: '#cac745',
    950: '#000000',
  },
}
SCSS
$custom: #cac745;
$custom-light: #ddd780;
$custom-dark: #000000;
JSON
{
  "hex": "#cac745",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 58.647,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80847,
    "c": 0.14832,
    "h": 108
  },
  "luminance": 0.53833
}

Semantic roles & 50–950 ramp

primary
#CAC745
secondary
#37387D
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC745

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

Preview Lab → · Contrast checker → · Palette generator →

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