#CDCD5C#CDCD5C

#CDCD5C is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.136 H 109.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#CDCD5C
RGBrgb(205, 205, 92)
HSLhsl(60, 53%, 58%)
HSVhsv(60, 55%, 80%)
CMYKcmyk(0%, 0%, 55.1%, 19.6%)
CIE-LABlab(80.41, -14.81, 55.20)
CIE-LCHlch(80.41, 57.16, 105.02°)
OKLaboklab(82.6% -0.0442 0.1282)
OKLCHoklch(82.6% 0.136 109)
XYZxyz(48.9412, 57.4158, 18.6274)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD5C #5C5CCD
analogous
#CD945C #CDCD5C #94CD5C
triadic
#CDCD5C #5CCDCD #CD5CCD
tetradic
#CDCD5C #5CCD94 #5C5CCD #CD5C94
square
#CDCD5C #5CCD94 #5C5CCD #CD5C94
split-complementary
#CDCD5C #5C94CD #945CCD
monochromatic
#868629 #B4B437 #CDCD5C #DBDB8B #EAEABA

Accessibility & contrast

On white

1.68
#CDCD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#CDCD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD5C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD5C#FFFFFF#000000##000000
##CDCD5C1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd5c;
/* rgb */ color: rgb(205, 205, 92);
/* oklch */ color: oklch(82.6% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdc8e',
    500: '#cdcd5c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd5c;
$custom-light: #dfdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd5c",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82602,
    "c": 0.13559,
    "h": 109
  },
  "luminance": 0.57414
}

Semantic roles & 50–950 ramp

primary
#CDCD5C
secondary
#40408D
accent
#4BDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDCD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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