#CACC5C#CACC5C

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

Color values

HEX#CACC5C
RGBrgb(202, 204, 92)
HSLhsl(61, 52%, 58%)
HSVhsv(61, 55%, 80%)
CMYKcmyk(1%, 0%, 54.9%, 20%)
CIE-LABlab(79.91, -15.54, 54.56)
CIE-LCHlch(79.91, 56.73, 105.90°)
OKLaboklab(82.14% -0.0461 0.1269)
OKLCHoklch(82.14% 0.135 110)
XYZxyz(47.8830, 56.5161, 18.5095)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC5C #5E5CCC
analogous
#CC965C #CACC5C #92CC5C
triadic
#CACC5C #5CCACC #CC5CCA
tetradic
#CACC5C #5CCC96 #5E5CCC #CC5C92
square
#CACC5C #5CCC96 #5E5CCC #CC5C92
split-complementary
#CACC5C #5C92CC #965CCC
monochromatic
#838429 #B1B338 #CACC5C #D9DB8B #E8E9B9

Accessibility & contrast

On white

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

On black

12.30
#CACC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC5C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC5C#FFFFFF#000000##000000
##CACC5C1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC450
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#D7C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc5c;
/* rgb */ color: rgb(202, 204, 92);
/* oklch */ color: oklch(82.1% 0.135 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb8e',
    500: '#cacc5c',
    950: '#000000',
  },
}
SCSS
$custom: #cacc5c;
$custom-light: #dcdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc5c",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 61.071,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8214,
    "c": 0.13499,
    "h": 110
  },
  "luminance": 0.56515
}

Semantic roles & 50–950 ramp

primary
#CACC5C
secondary
#42418C
accent
#4CDC4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CACC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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