#CDCD49#CDCD49

#CDCD49 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.151 H 109.3°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CDCD49
RGBrgb(205, 205, 73)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0%, 64.4%, 19.6%)
CIE-LABlab(80.25, -16.11, 63.14)
CIE-LCHlch(80.25, 65.16, 104.31°)
OKLaboklab(82.42% -0.0499 0.1425)
OKLCHoklch(82.42% 0.151 109.3)
XYZxyz(48.2123, 57.1242, 14.7884)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD49 #4949CD
analogous
#CD8B49 #CDCD49 #8BCD49
triadic
#CDCD49 #49CDCD #CD49CD
tetradic
#CDCD49 #49CD8B #4949CD #CD498B
square
#CDCD49 #49CD8B #4949CD #CD498B
split-complementary
#CDCD49 #498BCD #8B49CD
monochromatic
#7A7A22 #AAAA2F #CDCD49 #DADA79 #E7E7A9

Accessibility & contrast

On white

1.69
#CDCD49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CDCD49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD49
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD49#FFFFFF#000000##000000
##CDCD491.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#DFC952
Tritanopia (blue-blind)
#DBC1B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd49;
/* rgb */ color: rgb(205, 205, 73);
/* oklch */ color: oklch(82.4% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdc82',
    500: '#cdcd49',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd49;
$custom-light: #dfdc82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd49",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82419,
    "c": 0.15097,
    "h": 109.3
  },
  "luminance": 0.57123
}

Semantic roles & 50–950 ramp

primary
#CDCD49
secondary
#383882
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDCD49

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

Preview Lab → · Contrast checker → · Palette generator →

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