#CDCC5A#CDCC5A

#CDCC5A is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.136 H 108.6°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCC5A
RGBrgb(205, 204, 90)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 0.5%, 56.1%, 19.6%)
CIE-LABlab(80.13, -14.47, 55.78)
CIE-LCHlch(80.13, 57.62, 104.54°)
OKLaboklab(82.37% -0.0434 0.1292)
OKLCHoklch(82.37% 0.136 108.6)
XYZxyz(48.6165, 56.9044, 18.0935)
Luminance0.5690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5A #5A5BCD
analogous
#CD925A #CDCC5A #95CD5A
triadic
#CDCC5A #5ACDCC #CC5ACD
tetradic
#CDCC5A #5ACD92 #5A5BCD #CD5A95
square
#CDCC5A #5ACD92 #5A5BCD #CD5A95
split-complementary
#CDCC5A #5A95CD #925ACD
monochromatic
#848428 #B3B236 #CDCC5A #DBDB89 #E9E9B8

Accessibility & contrast

On white

1.70
#CDCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC5A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC5A#FFFFFF#000000##000000
##CDCC5A1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcc5a;
/* rgb */ color: rgb(205, 204, 90);
/* oklch */ color: oklch(82.4% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb8c',
    500: '#cdcc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5a;
$custom-light: #dfdb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5a",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 59.478,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82366,
    "c": 0.13629,
    "h": 108.6
  },
  "luminance": 0.56903
}

Semantic roles & 50–950 ramp

primary
#CDCC5A
secondary
#40408C
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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