#CAC13B#CAC13B

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

Color values

HEX#CAC13B
RGBrgb(202, 193, 59)
HSLhsl(56, 57%, 51%)
HSVhsv(56, 71%, 79%)
CMYKcmyk(0%, 4.5%, 70.8%, 20.8%)
CIE-LABlab(76.69, -12.09, 64.85)
CIE-LCHlch(76.69, 65.96, 100.56°)
OKLaboklab(79.49% -0.0398 0.1439)
OKLCHoklch(79.49% 0.149 105.5)
XYZxyz(44.2183, 51.0139, 11.6543)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13B #3B44CA
analogous
#CA793B #CAC13B #8BCA3B
triadic
#CAC13B #3BCAC1 #C13BCA
tetradic
#CAC13B #3BCA79 #3B44CA #CA3B8B
square
#CAC13B #3BCA79 #3B44CA #CA3B8B
split-complementary
#CAC13B #3B8BCA #793BCA
monochromatic
#6D681E #9D962B #CAC13B #D7D06B #E4DF9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC13B#FFFFFF#000000##000000
##CAC13B1.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)
#D2BA24
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac13b;
/* rgb */ color: rgb(202, 193, 59);
/* oklch */ color: oklch(79.5% 0.149 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded37a',
    500: '#cac13b',
    950: '#000000',
  },
}
SCSS
$custom: #cac13b;
$custom-light: #ded37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13b",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 56.224,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79488,
    "c": 0.14928,
    "h": 105.5
  },
  "luminance": 0.51012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC13B

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

Preview Lab → · Contrast checker → · Palette generator →

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