#CACC55#CACC55

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

Color values

HEX#CACC55
RGBrgb(202, 204, 85)
HSLhsl(61, 54%, 57%)
HSVhsv(61, 58%, 80%)
CMYKcmyk(1%, 0%, 58.3%, 20%)
CIE-LABlab(79.84, -16.07, 57.61)
CIE-LCHlch(79.84, 59.81, 105.58°)
OKLaboklab(82.07% -0.0483 0.1325)
OKLCHoklch(82.07% 0.141 110)
XYZxyz(47.5910, 56.3994, 16.9718)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC55 #5755CC
analogous
#CC9355 #CACC55 #8FCC55
triadic
#CACC55 #55CACC #CC55CA
tetradic
#CACC55 #55CC93 #5755CC #CC558F
square
#CACC55 #55CC93 #5755CC #CC558F
split-complementary
#CACC55 #558FCC #9355CC
monochromatic
#7F8026 #ADAF35 #CACC55 #D9DA84 #E7E8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CACC55#FFFFFF#000000##000000
##CACC551.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)
#DBC448
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#D7C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc55;
/* rgb */ color: rgb(202, 204, 85);
/* oklch */ color: oklch(82.1% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#dddb89',
    500: '#cacc55',
    950: '#000000',
  },
}
SCSS
$custom: #cacc55;
$custom-light: #dddb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc55",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 61.008,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82066,
    "c": 0.14108,
    "h": 110
  },
  "luminance": 0.56398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CACC55

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

Preview Lab → · Contrast checker → · Palette generator →

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