#CCCD5A#CCCD5A

#CCCD5A is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.138 H 109.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CCCD5A
RGBrgb(204, 205, 90)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 56%, 80%)
CMYKcmyk(0.5%, 0%, 56.1%, 19.6%)
CIE-LABlab(80.31, -15.38, 55.97)
CIE-LCHlch(80.31, 58.04, 105.36°)
OKLaboklab(82.5% -0.046 0.1296)
OKLCHoklch(82.5% 0.138 109.5)
XYZxyz(48.5799, 57.2394, 18.1601)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD5A #5B5ACD
analogous
#CD955A #CCCD5A #92CD5A
triadic
#CCCD5A #5ACCCD #CD5ACC
tetradic
#CCCD5A #5ACD95 #5B5ACD #CD5A92
square
#CCCD5A #5ACD95 #5B5ACD #CD5A92
split-complementary
#CCCD5A #5A92CD #955ACD
monochromatic
#848428 #B2B336 #CCCD5A #DBDB89 #E9E9B8

Accessibility & contrast

On white

1.69
#CCCD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CCCD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD5A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD5A#FFFFFF#000000##000000
##CCCD5A1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54E
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccd5a;
/* rgb */ color: rgb(204, 205, 90);
/* oklch */ color: oklch(82.5% 0.138 109.5);
Tailwind
colors: {
  custom: {
    50: '#dedc8d',
    500: '#cccd5a',
    950: '#000000',
  },
}
SCSS
$custom: #cccd5a;
$custom-light: #dedc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd5a",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 60.522,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82497,
    "c": 0.13752,
    "h": 109.5
  },
  "luminance": 0.57238
}

Semantic roles & 50–950 ramp

primary
#CCCD5A
secondary
#40408C
accent
#4BDD4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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