#CDC555#CDC555

#CDC555 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.8% C 0.133 H 105.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CDC555
RGBrgb(205, 197, 85)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 80%)
CMYKcmyk(0%, 3.9%, 58.5%, 19.6%)
CIE-LABlab(78.21, -11.29, 55.87)
CIE-LCHlch(78.21, 57.00, 101.43°)
OKLaboklab(80.83% -0.035 0.1288)
OKLCHoklch(80.83% 0.133 105.2)
XYZxyz(46.7843, 53.5691, 16.4680)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC555 #555DCD
analogous
#CD8955 #CDC555 #99CD55
triadic
#CDC555 #55CDC5 #C555CD
tetradic
#CDC555 #55CD89 #555DCD #CD5599
square
#CDC555 #55CD89 #555DCD #CD5599
split-complementary
#CDC555 #5599CD #8955CD
monochromatic
#827B26 #B1A834 #CDC555 #DBD584 #E9E5B4

Accessibility & contrast

On white

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

On black

11.71
#CDC555 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC555
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC555#FFFFFF#000000##000000
##CDC5551.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE49
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc555;
/* rgb */ color: rgb(205, 197, 85);
/* oklch */ color: oklch(80.8% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd689',
    500: '#cdc555',
    950: '#000000',
  },
}
SCSS
$custom: #cdc555;
$custom-light: #dfd689;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc555",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 85
  },
  "hsl": {
    "h": 56,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80826,
    "c": 0.13343,
    "h": 105.2
  },
  "luminance": 0.53568
}

Semantic roles & 50–950 ramp

primary
#CDC555
secondary
#3D4289
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC555

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

Preview Lab → · Contrast checker → · Palette generator →

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