#CAC146#CAC146

#CAC146 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.142 H 105.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CAC146
RGBrgb(202, 193, 70)
HSLhsl(56, 55%, 53%)
HSVhsv(56, 65%, 79%)
CMYKcmyk(0%, 4.5%, 65.3%, 20.8%)
CIE-LABlab(76.76, -11.50, 60.66)
CIE-LCHlch(76.76, 61.74, 100.73°)
OKLaboklab(79.57% -0.037 0.1369)
OKLCHoklch(79.57% 0.142 105.1)
XYZxyz(44.5343, 51.1403, 13.3184)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC146 #464FCA
analogous
#CA7F46 #CAC146 #91CA46
triadic
#CAC146 #46CAC1 #C146CA
tetradic
#CAC146 #46CA7F #464FCA #CA4691
square
#CAC146 #46CA7F #464FCA #CA4691
split-complementary
#CAC146 #4691CA #7F46CA
monochromatic
#746F21 #A49C2F #CAC146 #D8D176 #E5E1A5

Accessibility & contrast

On white

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

On black

11.23
#CAC146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC146
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC146#FFFFFF#000000##000000
##CAC1461.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA36
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#D8B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac146;
/* rgb */ color: rgb(202, 193, 70);
/* oklch */ color: oklch(79.6% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd380',
    500: '#cac146',
    950: '#000000',
  },
}
SCSS
$custom: #cac146;
$custom-light: #ddd380;
$custom-dark: #000000;
JSON
{
  "hex": "#cac146",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 55.909,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79574,
    "c": 0.14179,
    "h": 105.1
  },
  "luminance": 0.51139
}

Semantic roles & 50–950 ramp

primary
#CAC146
secondary
#373C7D
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC146

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

Preview Lab → · Contrast checker → · Palette generator →

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