#CDC551#CDC551

#CDC551 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.137 H 105.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CDC551
RGBrgb(205, 197, 81)
HSLhsl(56, 55%, 56%)
HSVhsv(56, 60%, 80%)
CMYKcmyk(0%, 3.9%, 60.5%, 19.6%)
CIE-LABlab(78.17, -11.57, 57.59)
CIE-LCHlch(78.17, 58.74, 101.36°)
OKLaboklab(80.79% -0.0362 0.1319)
OKLCHoklch(80.79% 0.137 105.3)
XYZxyz(46.6299, 53.5073, 15.6547)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC551 #5159CD
analogous
#CD8751 #CDC551 #97CD51
triadic
#CDC551 #51CDC5 #C551CD
tetradic
#CDC551 #51CD87 #5159CD #CD5197
square
#CDC551 #51CD87 #5159CD #CD5197
split-complementary
#CDC551 #5197CD #8751CD
monochromatic
#7F7925 #AFA732 #CDC551 #DBD581 #E8E5B0

Accessibility & contrast

On white

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

On black

11.70
#CDC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC551
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC551#FFFFFF#000000##000000
##CDC5511.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc551;
/* rgb */ color: rgb(205, 197, 81);
/* oklch */ color: oklch(80.8% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#dfd686',
    500: '#cdc551',
    950: '#000000',
  },
}
SCSS
$custom: #cdc551;
$custom-light: #dfd686;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc551",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 56.129,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80785,
    "c": 0.13679,
    "h": 105.3
  },
  "luminance": 0.53506
}

Semantic roles & 50–950 ramp

primary
#CDC551
secondary
#3B4087
accent
#53DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC551

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

Preview Lab → · Contrast checker → · Palette generator →

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