#CACC4B#CACC4B

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

Color values

HEX#CACC4B
RGBrgb(202, 204, 75)
HSLhsl(61, 56%, 55%)
HSVhsv(61, 63%, 80%)
CMYKcmyk(1%, 0%, 63.2%, 20%)
CIE-LABlab(79.76, -16.74, 61.75)
CIE-LCHlch(79.76, 63.97, 105.17°)
OKLaboklab(81.97% -0.0513 0.1399)
OKLCHoklch(81.97% 0.149 110.1)
XYZxyz(47.2214, 56.2515, 15.0254)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC4B #4D4BCC
analogous
#CC8D4B #CACC4B #8ACC4B
triadic
#CACC4B #4BCACC #CC4BCA
tetradic
#CACC4B #4BCC8D #4D4BCC #CC4B8A
square
#CACC4B #4BCC8D #4D4BCC #CC4B8A
split-complementary
#CACC4B #4B8ACC #8D4BCC
monochromatic
#797A23 #A8AA30 #CACC4B #D8DA7B #E6E7AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC4B#FFFFFF#000000##000000
##CACC4B1.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)
#DBC43A
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc4b;
/* rgb */ color: rgb(202, 204, 75);
/* oklch */ color: oklch(82.0% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#dddb83',
    500: '#cacc4b',
    950: '#000000',
  },
}
SCSS
$custom: #cacc4b;
$custom-light: #dddb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc4b",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 60.93,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81972,
    "c": 0.14903,
    "h": 110.1
  },
  "luminance": 0.5625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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