#CDC549#CDC549

#CDC549 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.143 H 105.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CDC549
RGBrgb(205, 197, 73)
HSLhsl(56, 57%, 55%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 3.9%, 64.4%, 19.6%)
CIE-LABlab(78.11, -12.09, 60.91)
CIE-LCHlch(78.11, 62.10, 101.22°)
OKLaboklab(80.71% -0.0385 0.1378)
OKLCHoklch(80.71% 0.143 105.6)
XYZxyz(46.3474, 53.3943, 14.1668)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC549 #4951CD
analogous
#CD8349 #CDC549 #93CD49
triadic
#CDC549 #49CDC5 #C549CD
tetradic
#CDC549 #49CD83 #4951CD #CD4993
square
#CDC549 #49CD83 #4951CD #CD4993
split-complementary
#CDC549 #4993CD #8349CD
monochromatic
#7A7522 #AAA32F #CDC549 #DAD479 #E7E4A9

Accessibility & contrast

On white

1.80
#CDC549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CDC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC549
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC549#FFFFFF#000000##000000
##CDC5491.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#D8C451
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc549;
/* rgb */ color: rgb(205, 197, 73);
/* oklch */ color: oklch(80.7% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd682',
    500: '#cdc549',
    950: '#000000',
  },
}
SCSS
$custom: #cdc549;
$custom-light: #dfd682;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc549",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 56.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80711,
    "c": 0.14307,
    "h": 105.6
  },
  "luminance": 0.53393
}

Semantic roles & 50–950 ramp

primary
#CDC549
secondary
#383D82
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC549

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

Preview Lab → · Contrast checker → · Palette generator →

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