#CAC141#CAC141

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

Color values

HEX#CAC141
RGBrgb(202, 193, 65)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 68%, 79%)
CMYKcmyk(0%, 4.5%, 67.8%, 20.8%)
CIE-LABlab(76.73, -11.78, 62.62)
CIE-LCHlch(76.73, 63.71, 100.65°)
OKLaboklab(79.53% -0.0383 0.1402)
OKLCHoklch(79.53% 0.145 105.3)
XYZxyz(44.3829, 51.0798, 12.5215)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC141 #414ACA
analogous
#CA7C41 #CAC141 #8FCA41
triadic
#CAC141 #41CAC1 #C141CA
tetradic
#CAC141 #41CA7C #414ACA #CA418F
square
#CAC141 #41CA7C #414ACA #CA418F
split-complementary
#CAC141 #418FCA #7C41CA
monochromatic
#716C20 #A1992D #CAC141 #D7D171 #E5E0A1

Accessibility & contrast

On white

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

On black

11.22
#CAC141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC141
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC141#FFFFFF#000000##000000
##CAC1411.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac141;
/* rgb */ color: rgb(202, 193, 65);
/* oklch */ color: oklch(79.5% 0.145 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded37d',
    500: '#cac141',
    950: '#000000',
  },
}
SCSS
$custom: #cac141;
$custom-light: #ded37d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac141",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 56.058,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79533,
    "c": 0.14534,
    "h": 105.3
  },
  "luminance": 0.51078
}

Semantic roles & 50–950 ramp

primary
#CAC141
secondary
#353A7A
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC141

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

Preview Lab → · Contrast checker → · Palette generator →

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