#CDC352#CDC352

#CDC352 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.134 H 104.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CDC352
RGBrgb(205, 195, 82)
HSLhsl(55, 55%, 56%)
HSVhsv(55, 60%, 80%)
CMYKcmyk(0%, 4.9%, 60%, 19.6%)
CIE-LABlab(77.65, -10.49, 56.58)
CIE-LCHlch(77.65, 57.55, 100.50°)
OKLaboklab(80.37% -0.033 0.1299)
OKLCHoklch(80.37% 0.134 104.3)
XYZxyz(46.2165, 52.6202, 15.7032)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC352 #525CCD
analogous
#CD8652 #CDC352 #9ACD52
triadic
#CDC352 #52CDC3 #C352CD
tetradic
#CDC352 #52CD86 #525CCD #CD529A
square
#CDC352 #52CD86 #525CCD #CD529A
split-complementary
#CDC352 #529ACD #8652CD
monochromatic
#807825 #AFA533 #CDC352 #DBD381 #E8E4B1

Accessibility & contrast

On white

1.82
#CDC352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CDC352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC352
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC352#FFFFFF#000000##000000
##CDC3521.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#D6C258
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc352;
/* rgb */ color: rgb(205, 195, 82);
/* oklch */ color: oklch(80.4% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd487',
    500: '#cdc352',
    950: '#000000',
  },
}
SCSS
$custom: #cdc352;
$custom-light: #dfd487;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc352",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 55.122,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80372,
    "c": 0.13403,
    "h": 104.3
  },
  "luminance": 0.52619
}

Semantic roles & 50–950 ramp

primary
#CDC352
secondary
#3C4287
accent
#55DE49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC352

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

Preview Lab → · Contrast checker → · Palette generator →

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