#CDC558#CDC558

#CDC558 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.131 H 105.1°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC558
RGBrgb(205, 197, 88)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.9%, 57.1%, 19.6%)
CIE-LABlab(78.24, -11.08, 54.56)
CIE-LCHlch(78.24, 55.67, 101.48°)
OKLaboklab(80.86% -0.034 0.1263)
OKLCHoklch(80.86% 0.131 105.1)
XYZxyz(46.9060, 53.6178, 17.1091)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC558 #5860CD
analogous
#CD8A58 #CDC558 #9BCD58
triadic
#CDC558 #58CDC5 #C558CD
tetradic
#CDC558 #58CD8A #5860CD #CD589B
square
#CDC558 #58CD8A #5860CD #CD589B
split-complementary
#CDC558 #589BCD #8A58CD
monochromatic
#837D27 #B2AA35 #CDC558 #DBD587 #E9E6B6

Accessibility & contrast

On white

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

On black

11.72
#CDC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC558
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC558#FFFFFF#000000##000000
##CDC5581.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc558;
/* rgb */ color: rgb(205, 197, 88);
/* oklch */ color: oklch(80.9% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd68b',
    500: '#cdc558',
    950: '#000000',
  },
}
SCSS
$custom: #cdc558;
$custom-light: #dfd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc558",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 55.897,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80857,
    "c": 0.13083,
    "h": 105.1
  },
  "luminance": 0.53616
}

Semantic roles & 50–950 ramp

primary
#CDC558
secondary
#3F448B
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC558

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

Preview Lab → · Contrast checker → · Palette generator →

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