#CACC5D#CACC5D

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

Color values

HEX#CACC5D
RGBrgb(202, 204, 93)
HSLhsl(61, 52%, 58%)
HSVhsv(61, 54%, 80%)
CMYKcmyk(1%, 0%, 54.4%, 20%)
CIE-LABlab(79.92, -15.46, 54.12)
CIE-LCHlch(79.92, 56.29, 105.95°)
OKLaboklab(82.15% -0.0458 0.126)
OKLCHoklch(82.15% 0.134 110)
XYZxyz(47.9270, 56.5337, 18.7412)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACC5D #5F5DCC
analogous
#CC965D #CACC5D #92CC5D
triadic
#CACC5D #5DCACC #CC5DCA
tetradic
#CACC5D #5DCC96 #5F5DCC #CC5D92
square
#CACC5D #5DCC96 #5F5DCC #CC5D92
split-complementary
#CACC5D #5D92CC #965DCC
monochromatic
#83852A #B1B338 #CACC5D #D9DB8C #E8E9BA

Accessibility & contrast

On white

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

On black

12.31
#CACC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACC5D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACC5D#FFFFFF#000000##000000
##CACC5D1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#D6C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cacc5d;
/* rgb */ color: rgb(202, 204, 93);
/* oklch */ color: oklch(82.2% 0.134 110.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb8e',
    500: '#cacc5d',
    950: '#000000',
  },
}
SCSS
$custom: #cacc5d;
$custom-light: #dcdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cacc5d",
  "rgb": {
    "r": 202,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 61.081,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82151,
    "c": 0.13409,
    "h": 110
  },
  "luminance": 0.56533
}

Semantic roles & 50–950 ramp

primary
#CACC5D
secondary
#43418C
accent
#4CDC4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CACC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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