#CACC4C#CACC4C

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

Color values

HEX#CACC4C
RGBrgb(202, 204, 76)
HSLhsl(61, 56%, 55%)
HSVhsv(61, 63%, 80%)
CMYKcmyk(1%, 0%, 62.7%, 20%)
CIE-LABlab(79.76, -16.67, 61.34)
CIE-LCHlch(79.76, 63.57, 105.21°)
OKLaboklab(81.98% -0.051 0.1392)
OKLCHoklch(81.98% 0.148 110.1)
XYZxyz(47.2559, 56.2653, 15.2071)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC4C #4E4CCC
analogous
#CC8E4C #CACC4C #8ACC4C
triadic
#CACC4C #4CCACC #CC4CCA
tetradic
#CACC4C #4CCC8E #4E4CCC #CC4C8A
square
#CACC4C #4CCC8E #4E4CCC #CC4C8A
split-complementary
#CACC4C #4C8ACC #8E4CCC
monochromatic
#797B23 #A8AA31 #CACC4C #D8DA7C #E6E7AB

Accessibility & contrast

On white

1.71
#CACC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CACC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC4C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC4C#FFFFFF#000000##000000
##CACC4C1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43C
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc4c;
/* rgb */ color: rgb(202, 204, 76);
/* oklch */ color: oklch(82.0% 0.148 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb84',
    500: '#cacc4c',
    950: '#000000',
  },
}
SCSS
$custom: #cacc4c;
$custom-light: #dddb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc4c",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 60.938,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81981,
    "c": 0.14828,
    "h": 110.1
  },
  "luminance": 0.56264
}

Semantic roles & 50–950 ramp

primary
#CACC4C
secondary
#3B3983
accent
#49DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CACC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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