#CDC552#CDC552

#CDC552 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.136 H 105.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CDC552
RGBrgb(205, 197, 82)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 3.9%, 60%, 19.6%)
CIE-LABlab(78.18, -11.51, 57.17)
CIE-LCHlch(78.18, 58.31, 101.38°)
OKLaboklab(80.79% -0.0359 0.1311)
OKLCHoklch(80.79% 0.136 105.3)
XYZxyz(46.6677, 53.5224, 15.8536)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC552 #525ACD
analogous
#CD8852 #CDC552 #98CD52
triadic
#CDC552 #52CDC5 #C552CD
tetradic
#CDC552 #52CD88 #525ACD #CD5298
square
#CDC552 #52CD88 #525ACD #CD5298
split-complementary
#CDC552 #5298CD #8852CD
monochromatic
#807A25 #AFA733 #CDC552 #DBD581 #E8E5B1

Accessibility & contrast

On white

1.79
#CDC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CDC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC552
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC552#FFFFFF#000000##000000
##CDC5521.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc552;
/* rgb */ color: rgb(205, 197, 82);
/* oklch */ color: oklch(80.8% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfd687',
    500: '#cdc552',
    950: '#000000',
  },
}
SCSS
$custom: #cdc552;
$custom-light: #dfd687;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc552",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 56.098,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80795,
    "c": 0.13597,
    "h": 105.3
  },
  "luminance": 0.53521
}

Semantic roles & 50–950 ramp

primary
#CDC552
secondary
#3C4187
accent
#53DE49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC552

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

Preview Lab → · Contrast checker → · Palette generator →

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