#CAC13A#CAC13A

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

Color values

HEX#CAC13A
RGBrgb(202, 193, 58)
HSLhsl(56, 58%, 51%)
HSVhsv(56, 71%, 79%)
CMYKcmyk(0%, 4.5%, 71.3%, 20.8%)
CIE-LABlab(76.68, -12.13, 65.20)
CIE-LCHlch(76.68, 66.32, 100.54°)
OKLaboklab(79.48% -0.0401 0.1445)
OKLCHoklch(79.48% 0.15 105.5)
XYZxyz(44.1926, 51.0036, 11.5190)
Luminance0.5100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13A #3A43CA
analogous
#CA793A #CAC13A #8BCA3A
triadic
#CAC13A #3ACAC1 #C13ACA
tetradic
#CAC13A #3ACA79 #3A43CA #CA3A8B
square
#CAC13A #3ACA79 #3A43CA #CA3A8B
split-complementary
#CAC13A #3A8BCA #793ACA
monochromatic
#6C671D #9D952A #CAC13A #D7D06A #E4DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC13A#FFFFFF#000000##000000
##CAC13A1.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)
#D2BA23
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac13a;
/* rgb */ color: rgb(202, 193, 58);
/* oklch */ color: oklch(79.5% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded379',
    500: '#cac13a',
    950: '#000000',
  },
}
SCSS
$custom: #cac13a;
$custom-light: #ded379;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13a",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 56.25,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79481,
    "c": 0.1499,
    "h": 105.5
  },
  "luminance": 0.51002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC13A

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

Preview Lab → · Contrast checker → · Palette generator →

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