#CAC046#CAC046

#CAC046 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.141 H 104.6°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CAC046
RGBrgb(202, 192, 70)
HSLhsl(55, 55%, 53%)
HSVhsv(55, 65%, 79%)
CMYKcmyk(0%, 5%, 65.3%, 20.8%)
CIE-LABlab(76.50, -10.99, 60.38)
CIE-LCHlch(76.50, 61.37, 100.31°)
OKLaboklab(79.36% -0.0356 0.1363)
OKLCHoklch(79.36% 0.141 104.6)
XYZxyz(44.3139, 50.6997, 13.2449)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC046 #4650CA
analogous
#CA7E46 #CAC046 #92CA46
triadic
#CAC046 #46CAC0 #C046CA
tetradic
#CAC046 #46CA7E #4650CA #CA4692
square
#CAC046 #46CA7E #4650CA #CA4692
split-complementary
#CAC046 #4692CA #7E46CA
monochromatic
#746E21 #A49B2F #CAC046 #D8D076 #E5E0A5

Accessibility & contrast

On white

1.89
#CAC046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CAC046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC046
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC046#FFFFFF#000000##000000
##CAC0461.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA36
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac046;
/* rgb */ color: rgb(202, 192, 70);
/* oklch */ color: oklch(79.4% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd280',
    500: '#cac046',
    950: '#000000',
  },
}
SCSS
$custom: #cac046;
$custom-light: #ddd280;
$custom-dark: #000000;
JSON
{
  "hex": "#cac046",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 55.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79361,
    "c": 0.14085,
    "h": 104.6
  },
  "luminance": 0.50698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC046

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

Preview Lab → · Contrast checker → · Palette generator →

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