#CAC048#CAC048

#CAC048 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.139 H 104.6°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CAC048
RGBrgb(202, 192, 72)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 64%, 79%)
CMYKcmyk(0%, 5%, 64.4%, 20.8%)
CIE-LABlab(76.51, -10.87, 59.57)
CIE-LCHlch(76.51, 60.55, 100.34°)
OKLaboklab(79.38% -0.035 0.1349)
OKLCHoklch(79.38% 0.139 104.6)
XYZxyz(44.3781, 50.7253, 13.5830)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC048 #4852CA
analogous
#CA7F48 #CAC048 #93CA48
triadic
#CAC048 #48CAC0 #C048CA
tetradic
#CAC048 #48CA7F #4852CA #CA4893
square
#CAC048 #48CA7F #4852CA #CA4893
split-complementary
#CAC048 #4893CA #7F48CA
monochromatic
#766F22 #A59C30 #CAC048 #D8D077 #E5E1A7

Accessibility & contrast

On white

1.88
#CAC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CAC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC048
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC048#FFFFFF#000000##000000
##CAC0481.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA39
Deuteranopia (green-blind)
#D4BF4F
Tritanopia (blue-blind)
#D8B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac048;
/* rgb */ color: rgb(202, 192, 72);
/* oklch */ color: oklch(79.4% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd281',
    500: '#cac048',
    950: '#000000',
  },
}
SCSS
$custom: #cac048;
$custom-light: #ddd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cac048",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 55.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79378,
    "c": 0.13935,
    "h": 104.6
  },
  "luminance": 0.50724
}

Semantic roles & 50–950 ramp

primary
#CAC048
secondary
#383D7E
accent
#55DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC048

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

Preview Lab → · Contrast checker → · Palette generator →

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