#CAC241#CAC241

#CAC241 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.7% C 0.146 H 105.8°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CAC241
RGBrgb(202, 194, 65)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 68%, 79%)
CMYKcmyk(0%, 4%, 67.8%, 20.8%)
CIE-LABlab(77.00, -12.29, 62.89)
CIE-LCHlch(77.00, 64.08, 101.06°)
OKLaboklab(79.75% -0.0398 0.1408)
OKLCHoklch(79.75% 0.146 105.8)
XYZxyz(44.6048, 51.5234, 12.5954)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC241 #4149CA
analogous
#CA7D41 #CAC241 #8ECA41
triadic
#CAC241 #41CAC2 #C241CA
tetradic
#CAC241 #41CA7D #4149CA #CA418E
square
#CAC241 #41CA7D #4149CA #CA418E
split-complementary
#CAC241 #418ECA #7D41CA
monochromatic
#716C20 #A19A2D #CAC241 #D7D171 #E5E1A1

Accessibility & contrast

On white

1.86
#CAC241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CAC241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC241
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC241#FFFFFF#000000##000000
##CAC2411.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#D9B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac241;
/* rgb */ color: rgb(202, 194, 65);
/* oklch */ color: oklch(79.7% 0.146 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded47d',
    500: '#cac241',
    950: '#000000',
  },
}
SCSS
$custom: #cac241;
$custom-light: #ded47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac241",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 56.496,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79746,
    "c": 0.14627,
    "h": 105.8
  },
  "luminance": 0.51522
}

Semantic roles & 50–950 ramp

primary
#CAC241
secondary
#35397A
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC241

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

Preview Lab → · Contrast checker → · Palette generator →

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