#CDCD4C#CDCD4C

#CDCD4C is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.4% C 0.149 H 109.3°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CDCD4C
RGBrgb(205, 205, 76)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0%, 62.9%, 19.6%)
CIE-LABlab(80.27, -15.93, 61.95)
CIE-LCHlch(80.27, 63.97, 104.42°)
OKLaboklab(82.44% -0.0491 0.1404)
OKLCHoklch(82.44% 0.149 109.3)
XYZxyz(48.3142, 57.1649, 15.3250)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD4C #4C4CCD
analogous
#CD8C4C #CDCD4C #8CCD4C
triadic
#CDCD4C #4CCDCD #CD4CCD
tetradic
#CDCD4C #4CCD8C #4C4CCD #CD4C8C
square
#CDCD4C #4CCD8C #4C4CCD #CD4C8C
split-complementary
#CDCD4C #4C8CCD #8C4CCD
monochromatic
#7C7C23 #ACAC30 #CDCD4C #DADA7C #E8E8AC

Accessibility & contrast

On white

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

On black

12.43
#CDCD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD4C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD4C#FFFFFF#000000##000000
##CDCD4C1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53B
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd4c;
/* rgb */ color: rgb(205, 205, 76);
/* oklch */ color: oklch(82.4% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdc84',
    500: '#cdcd4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd4c;
$custom-light: #dfdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd4c",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82444,
    "c": 0.14876,
    "h": 109.3
  },
  "luminance": 0.57164
}

Semantic roles & 50–950 ramp

primary
#CDCD4C
secondary
#393984
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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