#CAC641#CAC641

#CAC641 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.150 H 107.6°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAC641
RGBrgb(202, 198, 65)
HSLhsl(58, 56%, 52%)
HSVhsv(58, 68%, 79%)
CMYKcmyk(0%, 2%, 67.8%, 20.8%)
CIE-LABlab(78.07, -14.31, 63.97)
CIE-LCHlch(78.07, 65.55, 102.61°)
OKLaboklab(80.6% -0.0455 0.143)
OKLCHoklch(80.6% 0.15 107.6)
XYZxyz(45.5070, 53.3279, 12.8962)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC641 #4145CA
analogous
#CA8141 #CAC641 #8ACA41
triadic
#CAC641 #41CAC6 #C641CA
tetradic
#CAC641 #41CA81 #4145CA #CA418A
square
#CAC641 #41CA81 #4145CA #CA418A
split-complementary
#CAC641 #418ACA #8141CA
monochromatic
#716F20 #A19E2D #CAC641 #D7D471 #E5E3A1

Accessibility & contrast

On white

1.80
#CAC641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CAC641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC641
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC641#FFFFFF#000000##000000
##CAC6411.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#D9C34A
Tritanopia (blue-blind)
#D8B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac641;
/* rgb */ color: rgb(202, 198, 65);
/* oklch */ color: oklch(80.6% 0.150 107.6);
Tailwind
colors: {
  custom: {
    50: '#ded77d',
    500: '#cac641',
    950: '#000000',
  },
}
SCSS
$custom: #cac641;
$custom-light: #ded77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac641",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 58.248,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80601,
    "c": 0.1501,
    "h": 107.6
  },
  "luminance": 0.53326
}

Semantic roles & 50–950 ramp

primary
#CAC641
secondary
#35377A
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC641

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

Preview Lab → · Contrast checker → · Palette generator →

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