#CDC556#CDC556

#CDC556 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.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC556
RGBrgb(205, 197, 86)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 58%, 80%)
CMYKcmyk(0%, 3.9%, 58%, 19.6%)
CIE-LABlab(78.22, -11.22, 55.44)
CIE-LCHlch(78.22, 56.56, 101.44°)
OKLaboklab(80.84% -0.0346 0.128)
OKLCHoklch(80.84% 0.133 105.2)
XYZxyz(46.8243, 53.5851, 16.6787)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC556 #565ECD
analogous
#CD8956 #CDC556 #9ACD56
triadic
#CDC556 #56CDC5 #C556CD
tetradic
#CDC556 #56CD89 #565ECD #CD569A
square
#CDC556 #56CD89 #565ECD #CD569A
split-complementary
#CDC556 #569ACD #8956CD
monochromatic
#827C26 #B1A934 #CDC556 #DBD585 #E9E5B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC556#FFFFFF#000000##000000
##CDC5561.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)
#D4BF4A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc556;
/* rgb */ color: rgb(205, 197, 86);
/* oklch */ color: oklch(80.8% 0.133 105.2);
Tailwind
colors: {
  custom: {
    50: '#dfd68a',
    500: '#cdc556',
    950: '#000000',
  },
}
SCSS
$custom: #cdc556;
$custom-light: #dfd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc556",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 55.966,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80836,
    "c": 0.13258,
    "h": 105.2
  },
  "luminance": 0.53584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC556

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

Preview Lab → · Contrast checker → · Palette generator →

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