#CAC44D#CAC44D

#CAC44D is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.139 H 106.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CAC44D
RGBrgb(202, 196, 77)
HSLhsl(57, 54%, 55%)
HSVhsv(57, 62%, 79%)
CMYKcmyk(0%, 3%, 61.9%, 20.8%)
CIE-LABlab(77.62, -12.59, 58.65)
CIE-LCHlch(77.62, 59.98, 102.11°)
OKLaboklab(80.27% -0.0393 0.1337)
OKLCHoklch(80.27% 0.139 106.4)
XYZxyz(45.4382, 52.5737, 14.7740)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC44D #4D53CA
analogous
#CA864D #CAC44D #92CA4D
triadic
#CAC44D #4DCAC4 #C44DCA
tetradic
#CAC44D #4DCA86 #4D53CA #CA4D92
square
#CAC44D #4DCA86 #4D53CA #CA4D92
split-complementary
#CAC44D #4D92CA #864DCA
monochromatic
#797524 #A8A232 #CAC44D #D8D47C #E6E3AB

Accessibility & contrast

On white

1.82
#CAC44D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CAC44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC44D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC44D#FFFFFF#000000##000000
##CAC44D1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3F
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac44d;
/* rgb */ color: rgb(202, 196, 77);
/* oklch */ color: oklch(80.3% 0.139 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd584',
    500: '#cac44d',
    950: '#000000',
  },
}
SCSS
$custom: #cac44d;
$custom-light: #ddd584;
$custom-dark: #000000;
JSON
{
  "hex": "#cac44d",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 77
  },
  "hsl": {
    "h": 57.12,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80275,
    "c": 0.13933,
    "h": 106.4
  },
  "luminance": 0.52572
}

Semantic roles & 50–950 ramp

primary
#CAC44D
secondary
#3A3E81
accent
#51DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC44D

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

Preview Lab → · Contrast checker → · Palette generator →

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