#CDCC4C#CDCC4C

#CDCC4C is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.148 H 108.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CDCC4C
RGBrgb(205, 204, 76)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 63%, 80%)
CMYKcmyk(0%, 0.5%, 62.9%, 19.6%)
CIE-LABlab(80.00, -15.43, 61.67)
CIE-LCHlch(80.00, 63.57, 104.05°)
OKLaboklab(82.23% -0.0477 0.1398)
OKLCHoklch(82.23% 0.148 108.8)
XYZxyz(48.0758, 56.6881, 15.2455)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC4C #4C4DCD
analogous
#CD8C4C #CDCC4C #8DCD4C
triadic
#CDCC4C #4CCDCC #CC4CCD
tetradic
#CDCC4C #4CCD8C #4C4DCD #CD4C8D
square
#CDCC4C #4CCD8C #4C4DCD #CD4C8D
split-complementary
#CDCC4C #4C8DCD #8C4CCD
monochromatic
#7C7B23 #ACAB30 #CDCC4C #DADA7C #E8E7AC

Accessibility & contrast

On white

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

On black

12.34
#CDCC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC4C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC4C#FFFFFF#000000##000000
##CDCC4C1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#DEC854
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc4c;
/* rgb */ color: rgb(205, 204, 76);
/* oklch */ color: oklch(82.2% 0.148 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb84',
    500: '#cdcc4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc4c;
$custom-light: #dfdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc4c",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 59.535,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8223,
    "c": 0.14774,
    "h": 108.8
  },
  "luminance": 0.56687
}

Semantic roles & 50–950 ramp

primary
#CDCC4C
secondary
#393A84
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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