#CDC557#CDC557

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

Color values

HEX#CDC557
RGBrgb(205, 197, 87)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 58%, 80%)
CMYKcmyk(0%, 3.9%, 57.6%, 19.6%)
CIE-LABlab(78.23, -11.15, 55.00)
CIE-LCHlch(78.23, 56.12, 101.46°)
OKLaboklab(80.85% -0.0343 0.1272)
OKLCHoklch(80.85% 0.132 105.1)
XYZxyz(46.8649, 53.6013, 16.8924)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC557 #575FCD
analogous
#CD8A57 #CDC557 #9ACD57
triadic
#CDC557 #57CDC5 #C557CD
tetradic
#CDC557 #57CD8A #575FCD #CD579A
square
#CDC557 #57CD8A #575FCD #CD579A
split-complementary
#CDC557 #579ACD #8A57CD
monochromatic
#837C27 #B2A935 #CDC557 #DBD586 #E9E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC557#FFFFFF#000000##000000
##CDC5571.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)
#D4BF4B
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc557;
/* rgb */ color: rgb(205, 197, 87);
/* oklch */ color: oklch(80.8% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#dfd68a',
    500: '#cdc557',
    950: '#000000',
  },
}
SCSS
$custom: #cdc557;
$custom-light: #dfd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc557",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 55.932,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80847,
    "c": 0.1317,
    "h": 105.1
  },
  "luminance": 0.536
}

Semantic roles & 50–950 ramp

primary
#CDC557
secondary
#3E438A
accent
#54DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC557

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

Preview Lab → · Contrast checker → · Palette generator →

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