#CAC848#CAC848

#CAC848 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.147 H 108.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CAC848
RGBrgb(202, 200, 72)
HSLhsl(59, 55%, 54%)
HSVhsv(59, 64%, 79%)
CMYKcmyk(0%, 1%, 64.4%, 20.8%)
CIE-LABlab(78.66, -14.92, 61.81)
CIE-LCHlch(78.66, 63.59, 103.57°)
OKLaboklab(81.09% -0.0465 0.1396)
OKLCHoklch(81.09% 0.147 108.4)
XYZxyz(46.1826, 54.3344, 14.1845)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC848 #484ACA
analogous
#CA8748 #CAC848 #8BCA48
triadic
#CAC848 #48CAC8 #C848CA
tetradic
#CAC848 #48CA87 #484ACA #CA488B
square
#CAC848 #48CA87 #484ACA #CA488B
split-complementary
#CAC848 #488BCA #8748CA
monochromatic
#767422 #A5A330 #CAC848 #D8D677 #E5E5A7

Accessibility & contrast

On white

1.77
#CAC848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CAC848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC848
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC848#FFFFFF#000000##000000
##CAC8481.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac848;
/* rgb */ color: rgb(202, 200, 72);
/* oklch */ color: oklch(81.1% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddd881',
    500: '#cac848',
    950: '#000000',
  },
}
SCSS
$custom: #cac848;
$custom-light: #ddd881;
$custom-dark: #000000;
JSON
{
  "hex": "#cac848",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 59.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81086,
    "c": 0.14715,
    "h": 108.4
  },
  "luminance": 0.54333
}

Semantic roles & 50–950 ramp

primary
#CAC848
secondary
#38397E
accent
#4CDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC848

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

Preview Lab → · Contrast checker → · Palette generator →

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