#CAC13D#CAC13D

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

Color values

HEX#CAC13D
RGBrgb(202, 193, 61)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 70%, 79%)
CMYKcmyk(0%, 4.5%, 69.8%, 20.8%)
CIE-LABlab(76.70, -11.99, 64.12)
CIE-LCHlch(76.70, 65.23, 100.59°)
OKLaboklab(79.5% -0.0394 0.1427)
OKLCHoklch(79.5% 0.148 105.4)
XYZxyz(44.2712, 51.0350, 11.9327)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13D #3D46CA
analogous
#CA7B3D #CAC13D #8DCA3D
triadic
#CAC13D #3DCAC1 #C13DCA
tetradic
#CAC13D #3DCA7B #3D46CA #CA3D8D
square
#CAC13D #3DCA7B #3D46CA #CA3D8D
split-complementary
#CAC13D #3D8DCA #7B3DCA
monochromatic
#6E691E #9F972B #CAC13D #D7D06D #E4E09D

Accessibility & contrast

On white

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

On black

11.21
#CAC13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC13D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC13D#FFFFFF#000000##000000
##CAC13D1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac13d;
/* rgb */ color: rgb(202, 193, 61);
/* oklch */ color: oklch(79.5% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded37b',
    500: '#cac13d',
    950: '#000000',
  },
}
SCSS
$custom: #cac13d;
$custom-light: #ded37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13d",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 61
  },
  "hsl": {
    "h": 56.17,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79503,
    "c": 0.14801,
    "h": 105.4
  },
  "luminance": 0.51033
}

Semantic roles & 50–950 ramp

primary
#CAC13D
secondary
#333878
accent
#51E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC13D

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

Preview Lab → · Contrast checker → · Palette generator →

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