#CAC645#CAC645

#CAC645 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.6% C 0.147 H 107.6°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAC645
RGBrgb(202, 198, 69)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 66%, 79%)
CMYKcmyk(0%, 2%, 65.8%, 20.8%)
CIE-LABlab(78.10, -14.09, 62.44)
CIE-LCHlch(78.10, 64.01, 102.72°)
OKLaboklab(80.63% -0.0445 0.1405)
OKLCHoklch(80.63% 0.147 107.6)
XYZxyz(45.6270, 53.3759, 13.5282)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC645 #4549CA
analogous
#CA8345 #CAC645 #8CCA45
triadic
#CAC645 #45CAC6 #C645CA
tetradic
#CAC645 #45CA83 #4549CA #CA458C
square
#CAC645 #45CA83 #4549CA #CA458C
split-complementary
#CAC645 #458CCA #8345CA
monochromatic
#747121 #A3A02F #CAC645 #D8D575 #E5E3A4

Accessibility & contrast

On white

1.80
#CAC645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CAC645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC645
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC645#FFFFFF#000000##000000
##CAC6451.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE33
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac645;
/* rgb */ color: rgb(202, 198, 69);
/* oklch */ color: oklch(80.6% 0.147 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd77f',
    500: '#cac645',
    950: '#000000',
  },
}
SCSS
$custom: #cac645;
$custom-light: #ddd77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac645",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 58.195,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80633,
    "c": 0.14734,
    "h": 107.6
  },
  "luminance": 0.53374
}

Semantic roles & 50–950 ramp

primary
#CAC645
secondary
#37397D
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC645

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

Preview Lab → · Contrast checker → · Palette generator →

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