#CDCD5D#CDCD5D

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

Color values

HEX#CDCD5D
RGBrgb(205, 205, 93)
HSLhsl(60, 53%, 58%)
HSVhsv(60, 55%, 80%)
CMYKcmyk(0%, 0%, 54.6%, 19.6%)
CIE-LABlab(80.42, -14.74, 54.76)
CIE-LCHlch(80.42, 56.71, 105.06°)
OKLaboklab(82.61% -0.0439 0.1274)
OKLCHoklch(82.61% 0.135 109)
XYZxyz(48.9852, 57.4334, 18.8591)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD5D #5D5DCD
analogous
#CD955D #CDCD5D #95CD5D
triadic
#CDCD5D #5DCDCD #CD5DCD
tetradic
#CDCD5D #5DCD95 #5D5DCD #CD5D95
square
#CDCD5D #5DCD95 #5D5DCD #CD5D95
split-complementary
#CDCD5D #5D95CD #955DCD
monochromatic
#868629 #B5B538 #CDCD5D #DBDB8C #EAEABB

Accessibility & contrast

On white

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

On black

12.49
#CDCD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD5D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD5D#FFFFFF#000000##000000
##CDCD5D1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC552
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd5d;
/* rgb */ color: rgb(205, 205, 93);
/* oklch */ color: oklch(82.6% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfdc8e',
    500: '#cdcd5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd5d;
$custom-light: #dfdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd5d",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 60,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82613,
    "c": 0.1347,
    "h": 109
  },
  "luminance": 0.57432
}

Semantic roles & 50–950 ramp

primary
#CDCD5D
secondary
#41418D
accent
#4CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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