#CAC648#CAC648

#CAC648 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.145 H 107.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CAC648
RGBrgb(202, 198, 72)
HSLhsl(58, 55%, 54%)
HSVhsv(58, 64%, 79%)
CMYKcmyk(0%, 2%, 64.4%, 20.8%)
CIE-LABlab(78.12, -13.91, 61.25)
CIE-LCHlch(78.12, 62.81, 102.80°)
OKLaboklab(80.66% -0.0436 0.1384)
OKLCHoklch(80.66% 0.145 107.5)
XYZxyz(45.7225, 53.4140, 14.0311)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC648 #484CCA
analogous
#CA8548 #CAC648 #8DCA48
triadic
#CAC648 #48CAC6 #C648CA
tetradic
#CAC648 #48CA85 #484CCA #CA488D
square
#CAC648 #48CA85 #484CCA #CA488D
split-complementary
#CAC648 #488DCA #8548CA
monochromatic
#767322 #A5A130 #CAC648 #D8D577 #E5E4A7

Accessibility & contrast

On white

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

On black

11.68
#CAC648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC648
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC648#FFFFFF#000000##000000
##CAC6481.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac648;
/* rgb */ color: rgb(202, 198, 72);
/* oklch */ color: oklch(80.7% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddd781',
    500: '#cac648',
    950: '#000000',
  },
}
SCSS
$custom: #cac648;
$custom-light: #ddd781;
$custom-dark: #000000;
JSON
{
  "hex": "#cac648",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 58.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80658,
    "c": 0.14515,
    "h": 107.5
  },
  "luminance": 0.53413
}

Semantic roles & 50–950 ramp

primary
#CAC648
secondary
#383A7E
accent
#4EDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC648

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

Preview Lab → · Contrast checker → · Palette generator →

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