#CDC649#CDC649

#CDC649 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.144 H 106.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC649
RGBrgb(205, 198, 73)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3.4%, 64.4%, 19.6%)
CIE-LABlab(78.37, -12.59, 61.19)
CIE-LCHlch(78.37, 62.47, 101.63°)
OKLaboklab(80.92% -0.04 0.1384)
OKLCHoklch(80.92% 0.144 106.1)
XYZxyz(46.5752, 53.8499, 14.2427)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC649 #4950CD
analogous
#CD8449 #CDC649 #92CD49
triadic
#CDC649 #49CDC6 #C649CD
tetradic
#CDC649 #49CD84 #4950CD #CD4992
square
#CDC649 #49CD84 #4950CD #CD4992
split-complementary
#CDC649 #4992CD #8449CD
monochromatic
#7A7522 #AAA42F #CDC649 #DAD579 #E7E4A9

Accessibility & contrast

On white

1.78
#CDC649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CDC649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC649
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC649#FFFFFF#000000##000000
##CDC6491.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc649;
/* rgb */ color: rgb(205, 198, 73);
/* oklch */ color: oklch(80.9% 0.144 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#cdc649',
    950: '#000000',
  },
}
SCSS
$custom: #cdc649;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc649",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 73
  },
  "hsl": {
    "h": 56.818,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80924,
    "c": 0.14403,
    "h": 106.1
  },
  "luminance": 0.53848
}

Semantic roles & 50–950 ramp

primary
#CDC649
secondary
#383C82
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC649

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

Preview Lab → · Contrast checker → · Palette generator →

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