#CDCC32#CDCC32

#CDCC32 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.0% C 0.164 H 109.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CDCC32
RGBrgb(205, 204, 50)
HSLhsl(60, 61%, 50%)
HSVhsv(60, 76%, 80%)
CMYKcmyk(0%, 0.5%, 75.6%, 19.6%)
CIE-LABlab(79.84, -16.74, 70.95)
CIE-LCHlch(79.84, 72.90, 103.28°)
OKLaboklab(82.05% -0.0538 0.1551)
OKLCHoklch(82.05% 0.164 109.1)
XYZxyz(47.3472, 56.3966, 11.4086)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC32 #3233CD
analogous
#CD7F32 #CDCC32 #80CD32
triadic
#CDCC32 #32CDCC #CC32CD
tetradic
#CDCC32 #32CD7F #3233CD #CD3280
square
#CDCC32 #32CD7F #3233CD #CD3280
split-complementary
#CDCC32 #3280CD #7F32CD
monochromatic
#6B6A1A #9C9B26 #CDCC32 #D9D863 #E5E494

Accessibility & contrast

On white

1.71
#CDCC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CDCC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC32
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC32#FFFFFF#000000##000000
##CDCC321.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC307
Deuteranopia (green-blind)
#DFC83F
Tritanopia (blue-blind)
#DCBFAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc32;
/* rgb */ color: rgb(205, 204, 50);
/* oklch */ color: oklch(82.0% 0.164 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0db76',
    500: '#cdcc32',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc32;
$custom-light: #e0db76;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc32",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 59.613,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.82046,
    "c": 0.16417,
    "h": 109.1
  },
  "luminance": 0.56395
}

Semantic roles & 50–950 ramp

primary
#CDCC32
secondary
#2F2F74
accent
#45E444
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CDCC32

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

Preview Lab → · Contrast checker → · Palette generator →

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