#CAC448#CAC448

#CAC448 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.143 H 106.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CAC448
RGBrgb(202, 196, 72)
HSLhsl(57, 55%, 54%)
HSVhsv(57, 64%, 79%)
CMYKcmyk(0%, 3%, 64.4%, 20.8%)
CIE-LABlab(77.58, -12.90, 60.69)
CIE-LCHlch(77.58, 62.05, 102.00°)
OKLaboklab(80.23% -0.0408 0.1373)
OKLCHoklch(80.23% 0.143 106.5)
XYZxyz(45.2684, 52.5058, 13.8797)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC448 #484ECA
analogous
#CA8348 #CAC448 #8FCA48
triadic
#CAC448 #48CAC4 #C448CA
tetradic
#CAC448 #48CA83 #484ECA #CA488F
square
#CAC448 #48CA83 #484ECA #CA488F
split-complementary
#CAC448 #488FCA #8348CA
monochromatic
#767222 #A5A030 #CAC448 #D8D377 #E5E3A7

Accessibility & contrast

On white

1.83
#CAC448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CAC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC448
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC448#FFFFFF#000000##000000
##CAC4481.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#D8B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac448;
/* rgb */ color: rgb(202, 196, 72);
/* oklch */ color: oklch(80.2% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd581',
    500: '#cac448',
    950: '#000000',
  },
}
SCSS
$custom: #cac448;
$custom-light: #ddd581;
$custom-dark: #000000;
JSON
{
  "hex": "#cac448",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 57.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8023,
    "c": 0.14318,
    "h": 106.5
  },
  "luminance": 0.52504
}

Semantic roles & 50–950 ramp

primary
#CAC448
secondary
#383B7E
accent
#50DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC448

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

Preview Lab → · Contrast checker → · Palette generator →

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