#CDC355#CDC355

#CDC355 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.131 H 104.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDC355
RGBrgb(205, 195, 85)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 4.9%, 58.5%, 19.6%)
CIE-LABlab(77.68, -10.27, 55.28)
CIE-LCHlch(77.68, 56.23, 100.53°)
OKLaboklab(80.4% -0.0321 0.1275)
OKLCHoklch(80.4% 0.131 104.1)
XYZxyz(46.3332, 52.6668, 16.3177)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC355 #555FCD
analogous
#CD8755 #CDC355 #9BCD55
triadic
#CDC355 #55CDC3 #C355CD
tetradic
#CDC355 #55CD87 #555FCD #CD559B
square
#CDC355 #55CD87 #555FCD #CD559B
split-complementary
#CDC355 #559BCD #8755CD
monochromatic
#827A26 #B1A634 #CDC355 #DBD484 #E9E4B4

Accessibility & contrast

On white

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

On black

11.53
#CDC355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC355
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC355#FFFFFF#000000##000000
##CDC3551.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc355;
/* rgb */ color: rgb(205, 195, 85);
/* oklch */ color: oklch(80.4% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd489',
    500: '#cdc355',
    950: '#000000',
  },
}
SCSS
$custom: #cdc355;
$custom-light: #dfd489;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc355",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 85
  },
  "hsl": {
    "h": 55,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80403,
    "c": 0.13148,
    "h": 104.1
  },
  "luminance": 0.52665
}

Semantic roles & 50–950 ramp

primary
#CDC355
secondary
#3D4489
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC355

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

Preview Lab → · Contrast checker → · Palette generator →

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