#CDC576#CDC576

#CDC576 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.101 H 103.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CDC576
RGBrgb(205, 197, 118)
HSLhsl(54, 47%, 63%)
HSVhsv(54, 42%, 80%)
CMYKcmyk(0%, 3.9%, 42.4%, 19.6%)
CIE-LABlab(78.59, -8.40, 40.53)
CIE-LCHlch(78.59, 41.40, 101.71°)
OKLaboklab(81.25% -0.0233 0.0982)
OKLCHoklch(81.25% 0.101 103.3)
XYZxyz(48.4141, 54.2210, 25.0514)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC576 #767ECD
analogous
#CD9976 #CDC576 #A9CD76
triadic
#CDC576 #76CDC5 #C576CD
tetradic
#CDC576 #76CD99 #767ECD #CD76A9
square
#CDC576 #76CD99 #767ECD #CD76A9
split-complementary
#CDC576 #76A9CD #9976CD
monochromatic
#938A36 #BDB249 #CDC576 #DDD8A3 #EEEBD0

Accessibility & contrast

On white

1.77
#CDC576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CDC576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC576
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC576#FFFFFF#000000##000000
##CDC5761.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C070
Deuteranopia (green-blind)
#D5C479
Tritanopia (blue-blind)
#D9BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc576;
/* rgb */ color: rgb(205, 197, 118);
/* oklch */ color: oklch(81.3% 0.101 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded69f',
    500: '#cdc576',
    950: '#000000',
  },
}
SCSS
$custom: #cdc576;
$custom-light: #ded69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc576",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 118
  },
  "hsl": {
    "h": 54.483,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81251,
    "c": 0.10092,
    "h": 103.3
  },
  "luminance": 0.5422
}

Semantic roles & 50–950 ramp

primary
#CDC576
secondary
#4E5599
accent
#39BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC576

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

Preview Lab → · Contrast checker → · Palette generator →

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