#CDCC5C#CDCC5C

#CDCC5C 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.39:1 contrast (WCAG AA passes).

Color values

HEX#CDCC5C
RGBrgb(205, 204, 92)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 0.5%, 55.1%, 19.6%)
CIE-LABlab(80.15, -14.31, 54.90)
CIE-LCHlch(80.15, 56.73, 104.61°)
OKLaboklab(82.39% -0.0428 0.1275)
OKLCHoklch(82.39% 0.135 108.6)
XYZxyz(48.7028, 56.9389, 18.5479)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5C #5C5DCD
analogous
#CD935C #CDCC5C #95CD5C
triadic
#CDCC5C #5CCDCC #CC5CCD
tetradic
#CDCC5C #5CCD93 #5C5DCD #CD5C95
square
#CDCC5C #5CCD93 #5C5DCD #CD5C95
split-complementary
#CDCC5C #5C95CD #935CCD
monochromatic
#868529 #B4B337 #CDCC5C #DBDB8B #EAE9BA

Accessibility & contrast

On white

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

On black

12.39
#CDCC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC5C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC5C#FFFFFF#000000##000000
##CDCC5C1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcc5c;
/* rgb */ color: rgb(205, 204, 92);
/* oklch */ color: oklch(82.4% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb8e',
    500: '#cdcc5c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5c;
$custom-light: #dfdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5c",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 59.469,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82388,
    "c": 0.13452,
    "h": 108.6
  },
  "luminance": 0.56938
}

Semantic roles & 50–950 ramp

primary
#CDCC5C
secondary
#40418D
accent
#4DDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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