#CDCC5D#CDCC5D

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

Color values

HEX#CDCC5D
RGBrgb(205, 204, 93)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 0.5%, 54.6%, 19.6%)
CIE-LABlab(80.16, -14.24, 54.46)
CIE-LCHlch(80.16, 56.29, 104.65°)
OKLaboklab(82.4% -0.0425 0.1267)
OKLCHoklch(82.4% 0.134 108.5)
XYZxyz(48.7468, 56.9565, 18.7797)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC5D #5D5ECD
analogous
#CD945D #CDCC5D #96CD5D
triadic
#CDCC5D #5DCDCC #CC5DCD
tetradic
#CDCC5D #5DCD94 #5D5ECD #CD5D96
square
#CDCC5D #5DCD94 #5D5ECD #CD5D96
split-complementary
#CDCC5D #5D96CD #945DCD
monochromatic
#868529 #B5B438 #CDCC5D #DBDB8C #EAE9BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC5D#FFFFFF#000000##000000
##CDCC5D1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcc5d;
/* rgb */ color: rgb(205, 204, 93);
/* oklch */ color: oklch(82.4% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb8e',
    500: '#cdcc5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc5d;
$custom-light: #dfdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc5d",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 59.464,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82399,
    "c": 0.13363,
    "h": 108.5
  },
  "luminance": 0.56955
}

Semantic roles & 50–950 ramp

primary
#CDCC5D
secondary
#41428D
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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