#CAC13C#CAC13C

#CAC13C is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.149 H 105.4°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CAC13C
RGBrgb(202, 193, 60)
HSLhsl(56, 57%, 51%)
HSVhsv(56, 70%, 79%)
CMYKcmyk(0%, 4.5%, 70.3%, 20.8%)
CIE-LABlab(76.69, -12.04, 64.48)
CIE-LCHlch(76.69, 65.60, 100.57°)
OKLaboklab(79.5% -0.0396 0.1433)
OKLCHoklch(79.5% 0.149 105.4)
XYZxyz(44.2445, 51.0244, 11.7922)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13C #3C45CA
analogous
#CA7A3C #CAC13C #8CCA3C
triadic
#CAC13C #3CCAC1 #C13CCA
tetradic
#CAC13C #3CCA7A #3C45CA #CA3C8C
square
#CAC13C #3CCA7A #3C45CA #CA3C8C
split-complementary
#CAC13C #3C8CCA #7A3CCA
monochromatic
#6E691E #9E972B #CAC13C #D7D06C #E4E09C

Accessibility & contrast

On white

1.87
#CAC13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CAC13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC13C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC13C#FFFFFF#000000##000000
##CAC13C1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA26
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac13c;
/* rgb */ color: rgb(202, 193, 60);
/* oklch */ color: oklch(79.5% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded37a',
    500: '#cac13c',
    950: '#000000',
  },
}
SCSS
$custom: #cac13c;
$custom-light: #ded37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13c",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 56.197,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79495,
    "c": 0.14865,
    "h": 105.4
  },
  "luminance": 0.51023
}

Semantic roles & 50–950 ramp

primary
#CAC13C
secondary
#333777
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC13C

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

Preview Lab → · Contrast checker → · Palette generator →

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