#CAC442#CAC442

#CAC442 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.147 H 106.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CAC442
RGBrgb(202, 196, 66)
HSLhsl(57, 56%, 53%)
HSVhsv(57, 67%, 79%)
CMYKcmyk(0%, 3%, 67.3%, 20.8%)
CIE-LABlab(77.54, -13.25, 63.05)
CIE-LCHlch(77.54, 64.42, 101.87°)
OKLaboklab(80.18% -0.0424 0.1413)
OKLCHoklch(80.18% 0.147 106.7)
XYZxyz(45.0821, 52.4313, 12.8987)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC442 #4248CA
analogous
#CA8042 #CAC442 #8CCA42
triadic
#CAC442 #42CAC4 #C442CA
tetradic
#CAC442 #42CA80 #4248CA #CA428C
square
#CAC442 #42CA80 #4248CA #CA428C
split-complementary
#CAC442 #428CCA #8042CA
monochromatic
#726E20 #A29C2D #CAC442 #D7D372 #E5E2A2

Accessibility & contrast

On white

1.83
#CAC442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CAC442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC442
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC442#FFFFFF#000000##000000
##CAC4421.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2F
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#D8B7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac442;
/* rgb */ color: rgb(202, 196, 66);
/* oklch */ color: oklch(80.2% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#ddd57e',
    500: '#cac442',
    950: '#000000',
  },
}
SCSS
$custom: #cac442;
$custom-light: #ddd57e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac442",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 57.353,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.14749,
    "h": 106.7
  },
  "luminance": 0.5243
}

Semantic roles & 50–950 ramp

primary
#CAC442
secondary
#35397B
accent
#4FDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC442

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

Preview Lab → · Contrast checker → · Palette generator →

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