#CDC55C#CDC55C

#CDC55C is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.127 H 104.9°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CDC55C
RGBrgb(205, 197, 92)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.9%, 55.1%, 19.6%)
CIE-LABlab(78.28, -10.77, 52.77)
CIE-LCHlch(78.28, 53.86, 101.54°)
OKLaboklab(80.9% -0.0327 0.123)
OKLCHoklch(80.9% 0.127 104.9)
XYZxyz(47.0763, 53.6859, 18.0057)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC55C #5C64CD
analogous
#CD8C5C #CDC55C #9CCD5C
triadic
#CDC55C #5CCDC5 #C55CCD
tetradic
#CDC55C #5CCD8C #5C64CD #CD5C9C
square
#CDC55C #5CCD8C #5C64CD #CD5C9C
split-complementary
#CDC55C #5C9CCD #8C5CCD
monochromatic
#867F29 #B4AC37 #CDC55C #DBD68B #EAE6BA

Accessibility & contrast

On white

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

On black

11.74
#CDC55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC55C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC55C#FFFFFF#000000##000000
##CDC55C1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF52
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc55c;
/* rgb */ color: rgb(205, 197, 92);
/* oklch */ color: oklch(80.9% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#dfd68d',
    500: '#cdc55c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc55c;
$custom-light: #dfd68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc55c",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 55.752,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80902,
    "c": 0.12723,
    "h": 104.9
  },
  "luminance": 0.53684
}

Semantic roles & 50–950 ramp

primary
#CDC55C
secondary
#40468D
accent
#56DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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