#CDCC49#CDCC49

#CDCC49 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.150 H 108.9°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CDCC49
RGBrgb(205, 204, 73)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0.5%, 64.4%, 19.6%)
CIE-LABlab(79.98, -15.61, 62.86)
CIE-LCHlch(79.98, 64.77, 103.95°)
OKLaboklab(82.2% -0.0485 0.1419)
OKLCHoklch(82.2% 0.15 108.9)
XYZxyz(47.9739, 56.6473, 14.7090)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC49 #494ACD
analogous
#CD8A49 #CDCC49 #8CCD49
triadic
#CDCC49 #49CDCC #CC49CD
tetradic
#CDCC49 #49CD8A #494ACD #CD498C
square
#CDCC49 #49CD8A #494ACD #CD498C
split-complementary
#CDCC49 #498CCD #8A49CD
monochromatic
#7A7922 #AAA92F #CDCC49 #DAD979 #E7E7A9

Accessibility & contrast

On white

1.70
#CDCC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CDCC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC49
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC49#FFFFFF#000000##000000
##CDCC491.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DEC851
Tritanopia (blue-blind)
#DBBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc49;
/* rgb */ color: rgb(205, 204, 73);
/* oklch */ color: oklch(82.2% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb82',
    500: '#cdcc49',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc49;
$custom-light: #dfdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc49",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 59.545,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82204,
    "c": 0.14996,
    "h": 108.9
  },
  "luminance": 0.56646
}

Semantic roles & 50–950 ramp

primary
#CDCC49
secondary
#383982
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC49

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

Preview Lab → · Contrast checker → · Palette generator →

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