#CACC56#CACC56

#CACC56 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.140 H 110.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CACC56
RGBrgb(202, 204, 86)
HSLhsl(61, 54%, 57%)
HSVhsv(61, 58%, 80%)
CMYKcmyk(1%, 0%, 57.8%, 20%)
CIE-LABlab(79.85, -16.00, 57.18)
CIE-LCHlch(79.85, 59.37, 105.63°)
OKLaboklab(82.08% -0.048 0.1318)
OKLCHoklch(82.08% 0.14 110)
XYZxyz(47.6310, 56.4154, 17.1825)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC56 #5856CC
analogous
#CC9356 #CACC56 #8FCC56
triadic
#CACC56 #56CACC #CC56CA
tetradic
#CACC56 #56CC93 #5856CC #CC568F
square
#CACC56 #56CC93 #5856CC #CC568F
split-complementary
#CACC56 #568FCC #9356CC
monochromatic
#7F8127 #AEB035 #CACC56 #D9DA85 #E7E8B4

Accessibility & contrast

On white

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

On black

12.28
#CACC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC56
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC56#FFFFFF#000000##000000
##CACC561.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#D7C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc56;
/* rgb */ color: rgb(202, 204, 86);
/* oklch */ color: oklch(82.1% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#dddb8a',
    500: '#cacc56',
    950: '#000000',
  },
}
SCSS
$custom: #cacc56;
$custom-light: #dddb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc56",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 61.017,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82076,
    "c": 0.14023,
    "h": 110
  },
  "luminance": 0.56414
}

Semantic roles & 50–950 ramp

primary
#CACC56
secondary
#3F3E88
accent
#4BDD4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACC56

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

Preview Lab → · Contrast checker → · Palette generator →

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