#CAC64C#CAC64C

#CAC64C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.7% C 0.142 H 107.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CAC64C
RGBrgb(202, 198, 76)
HSLhsl(58, 54%, 55%)
HSVhsv(58, 62%, 79%)
CMYKcmyk(0%, 2%, 62.4%, 20.8%)
CIE-LABlab(78.15, -13.66, 59.63)
CIE-LCHlch(78.15, 61.18, 102.91°)
OKLaboklab(80.69% -0.0425 0.1356)
OKLCHoklch(80.69% 0.142 107.4)
XYZxyz(45.8572, 53.4680, 14.7408)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC64C #4C50CA
analogous
#CA874C #CAC64C #8FCA4C
triadic
#CAC64C #4CCAC6 #C64CCA
tetradic
#CAC64C #4CCA87 #4C50CA #CA4C8F
square
#CAC64C #4CCA87 #4C50CA #CA4C8F
split-complementary
#CAC64C #4C8FCA #874CCA
monochromatic
#787524 #A7A432 #CAC64C #D8D57B #E6E4AA

Accessibility & contrast

On white

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

On black

11.69
#CAC64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC64C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC64C#FFFFFF#000000##000000
##CAC64C1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac64c;
/* rgb */ color: rgb(202, 198, 76);
/* oklch */ color: oklch(80.7% 0.142 107.4);
Tailwind
colors: {
  custom: {
    50: '#ddd784',
    500: '#cac64c',
    950: '#000000',
  },
}
SCSS
$custom: #cac64c;
$custom-light: #ddd784;
$custom-dark: #000000;
JSON
{
  "hex": "#cac64c",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 58.095,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80693,
    "c": 0.14211,
    "h": 107.4
  },
  "luminance": 0.53467
}

Semantic roles & 50–950 ramp

primary
#CAC64C
secondary
#3A3C80
accent
#4FDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC64C

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

Preview Lab → · Contrast checker → · Palette generator →

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