#CDCC50#CDCC50

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

Color values

HEX#CDCC50
RGBrgb(205, 204, 80)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 61%, 19.6%)
CIE-LABlab(80.04, -15.17, 60.04)
CIE-LCHlch(80.04, 61.93, 104.18°)
OKLaboklab(82.27% -0.0465 0.137)
OKLCHoklch(82.27% 0.145 108.8)
XYZxyz(48.2192, 56.7454, 16.0008)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC50 #5051CD
analogous
#CD8D50 #CDCC50 #8FCD50
triadic
#CDCC50 #50CDCC #CC50CD
tetradic
#CDCC50 #50CD8D #5051CD #CD508F
square
#CDCC50 #50CD8D #5051CD #CD508F
split-complementary
#CDCC50 #508FCD #8D50CD
monochromatic
#7E7E24 #AEAD32 #CDCC50 #DBDA80 #E8E8AF

Accessibility & contrast

On white

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

On black

12.35
#CDCC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC50
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC50#FFFFFF#000000##000000
##CDCC501.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC441
Deuteranopia (green-blind)
#DDC957
Tritanopia (blue-blind)
#DBC0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc50;
/* rgb */ color: rgb(205, 204, 80);
/* oklch */ color: oklch(82.3% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfdb86',
    500: '#cdcc50',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc50;
$custom-light: #dfdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc50",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 59.52,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82266,
    "c": 0.14464,
    "h": 108.8
  },
  "luminance": 0.56744
}

Semantic roles & 50–950 ramp

primary
#CDCC50
secondary
#3B3C86
accent
#4ADF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCC50

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

Preview Lab → · Contrast checker → · Palette generator →

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