#CDCC5B#CDCC5B

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

Color values

HEX#CDCC5B
RGBrgb(205, 204, 91)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 0.5%, 55.6%, 19.6%)
CIE-LABlab(80.14, -14.39, 55.34)
CIE-LCHlch(80.14, 57.18, 104.58°)
OKLaboklab(82.38% -0.0431 0.1284)
OKLCHoklch(82.38% 0.135 108.6)
XYZxyz(48.6594, 56.9215, 18.3192)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5B #5B5CCD
analogous
#CD935B #CDCC5B #95CD5B
triadic
#CDCC5B #5BCDCC #CC5BCD
tetradic
#CDCC5B #5BCD93 #5B5CCD #CD5B95
square
#CDCC5B #5BCD93 #5B5CCD #CD5B95
split-complementary
#CDCC5B #5B95CD #935BCD
monochromatic
#858429 #B4B337 #CDCC5B #DBDB8A #EAE9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC5B#FFFFFF#000000##000000
##CDCC5B1.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)
#DBC44F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc5b;
/* rgb */ color: rgb(205, 204, 91);
/* oklch */ color: oklch(82.4% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb8d',
    500: '#cdcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5b;
$custom-light: #dfdb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5b",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 59.474,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82377,
    "c": 0.13541,
    "h": 108.6
  },
  "luminance": 0.5692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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