#CACC49#CACC49

#CACC49 is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.151 H 110.1°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CACC49
RGBrgb(202, 204, 73)
HSLhsl(61, 56%, 54%)
HSVhsv(61, 64%, 80%)
CMYKcmyk(1%, 0%, 64.2%, 20%)
CIE-LABlab(79.74, -16.86, 62.54)
CIE-LCHlch(79.74, 64.77, 105.09°)
OKLaboklab(81.96% -0.0518 0.1413)
OKLCHoklch(81.96% 0.151 110.1)
XYZxyz(47.1541, 56.2246, 14.6705)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC49 #4B49CC
analogous
#CC8D49 #CACC49 #89CC49
triadic
#CACC49 #49CACC #CC49CA
tetradic
#CACC49 #49CC8D #4B49CC #CC4989
square
#CACC49 #49CC8D #4B49CC #CC4989
split-complementary
#CACC49 #4989CC #8D49CC
monochromatic
#777922 #A7A92F #CACC49 #D8D979 #E6E7A9

Accessibility & contrast

On white

1.72
#CACC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CACC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC49
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC49#FFFFFF#000000##000000
##CACC491.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC437
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#D8C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc49;
/* rgb */ color: rgb(202, 204, 73);
/* oklch */ color: oklch(82.0% 0.151 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb82',
    500: '#cacc49',
    950: '#000000',
  },
}
SCSS
$custom: #cacc49;
$custom-light: #dddb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc49",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 60.916,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81955,
    "c": 0.15051,
    "h": 110.1
  },
  "luminance": 0.56223
}

Semantic roles & 50–950 ramp

primary
#CACC49
secondary
#393881
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC49

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

Preview Lab → · Contrast checker → · Palette generator →

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