#CDCC5F#CDCC5F

#CDCC5F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.132 H 108.5°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CDCC5F
RGBrgb(205, 204, 95)
HSLhsl(59, 52%, 59%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 0.5%, 53.7%, 19.6%)
CIE-LABlab(80.18, -14.08, 53.56)
CIE-LCHlch(80.18, 55.38, 104.72°)
OKLaboklab(82.42% -0.0418 0.125)
OKLCHoklch(82.42% 0.132 108.5)
XYZxyz(48.8365, 56.9924, 19.2523)
Luminance0.5699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5F #5F60CD
analogous
#CD955F #CDCC5F #97CD5F
triadic
#CDCC5F #5FCDCC #CC5FCD
tetradic
#CDCC5F #5FCD95 #5F60CD #CD5F97
square
#CDCC5F #5FCD95 #5F60CD #CD5F97
split-complementary
#CDCC5F #5F97CD #955FCD
monochromatic
#87862A #B6B539 #CDCC5F #DCDB8E #EAEABC

Accessibility & contrast

On white

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

On black

12.40
#CDCC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC5F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC5F#FFFFFF#000000##000000
##CDCC5F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DCC965
Tritanopia (blue-blind)
#DAC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc5f;
/* rgb */ color: rgb(205, 204, 95);
/* oklch */ color: oklch(82.4% 0.132 108.5);
Tailwind
colors: {
  custom: {
    50: '#dedb90',
    500: '#cdcc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5f;
$custom-light: #dedb90;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5f",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 59.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82422,
    "c": 0.13181,
    "h": 108.5
  },
  "luminance": 0.56991
}

Semantic roles & 50–950 ramp

primary
#CDCC5F
secondary
#42438E
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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