#CAC13F#CAC13F

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

Color values

HEX#CAC13F
RGBrgb(202, 193, 63)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 69%, 79%)
CMYKcmyk(0%, 4.5%, 68.8%, 20.8%)
CIE-LABlab(76.71, -11.88, 63.37)
CIE-LCHlch(76.71, 64.48, 100.62°)
OKLaboklab(79.52% -0.0388 0.1415)
OKLCHoklch(79.52% 0.147 105.4)
XYZxyz(44.3260, 51.0570, 12.2218)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13F #3F48CA
analogous
#CA7C3F #CAC13F #8ECA3F
triadic
#CAC13F #3FCAC1 #C13FCA
tetradic
#CAC13F #3FCA7C #3F48CA #CA3F8E
square
#CAC13F #3FCA7C #3F48CA #CA3F8E
split-complementary
#CAC13F #3F8ECA #7C3FCA
monochromatic
#706B1F #A0982C #CAC13F #D7D06F #E4E09F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC13F#FFFFFF#000000##000000
##CAC13F1.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)
#D2BA2B
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac13f;
/* rgb */ color: rgb(202, 193, 63);
/* oklch */ color: oklch(79.5% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded37c',
    500: '#cac13f',
    950: '#000000',
  },
}
SCSS
$custom: #cac13f;
$custom-light: #ded37c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13f",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 63
  },
  "hsl": {
    "h": 56.115,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79517,
    "c": 0.1467,
    "h": 105.4
  },
  "luminance": 0.51055
}

Semantic roles & 50–950 ramp

primary
#CAC13F
secondary
#343979
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC13F

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

Preview Lab → · Contrast checker → · Palette generator →

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