#CDCD55#CDCD55

#CDCD55 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.142 H 109.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCD55
RGBrgb(205, 205, 85)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0%, 58.5%, 19.6%)
CIE-LABlab(80.35, -15.33, 58.23)
CIE-LCHlch(80.35, 60.22, 104.75°)
OKLaboklab(82.53% -0.0464 0.1338)
OKLCHoklch(82.53% 0.142 109.1)
XYZxyz(48.6493, 57.2990, 17.0897)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD55 #5555CD
analogous
#CD9155 #CDCD55 #91CD55
triadic
#CDCD55 #55CDCD #CD55CD
tetradic
#CDCD55 #55CD91 #5555CD #CD5591
square
#CDCD55 #55CD91 #5555CD #CD5591
split-complementary
#CDCD55 #5591CD #9155CD
monochromatic
#828226 #B1B134 #CDCD55 #DBDB84 #E9E9B4

Accessibility & contrast

On white

1.69
#CDCD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD55
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD55#FFFFFF#000000##000000
##CDCD551.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC547
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#DAC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd55;
/* rgb */ color: rgb(205, 205, 85);
/* oklch */ color: oklch(82.5% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc89',
    500: '#cdcd55',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd55;
$custom-light: #dfdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd55",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82528,
    "c": 0.14163,
    "h": 109.1
  },
  "luminance": 0.57298
}

Semantic roles & 50–950 ramp

primary
#CDCD55
secondary
#3D3D89
accent
#4ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCD55

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

Preview Lab → · Contrast checker → · Palette generator →

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