#CDC577#CDC577

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

Color values

HEX#CDC577
RGBrgb(205, 197, 119)
HSLhsl(54, 46%, 64%)
HSVhsv(54, 42%, 80%)
CMYKcmyk(0%, 3.9%, 42%, 19.6%)
CIE-LABlab(78.60, -8.30, 40.05)
CIE-LCHlch(78.60, 40.90, 101.71°)
OKLaboklab(81.27% -0.0229 0.0972)
OKLCHoklch(81.27% 0.1 103.3)
XYZxyz(48.4738, 54.2449, 25.3660)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC577 #777FCD
analogous
#CD9A77 #CDC577 #AACD77
triadic
#CDC577 #77CDC5 #C577CD
tetradic
#CDC577 #77CD9A #777FCD #CD77AA
square
#CDC577 #77CD9A #777FCD #CD77AA
split-complementary
#CDC577 #77AACD #9A77CD
monochromatic
#938B36 #BDB24A #CDC577 #DDD8A4 #EEEBD0

Accessibility & contrast

On white

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

On black

11.85
#CDC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC577
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC577#FFFFFF#000000##000000
##CDC5771.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc577;
/* rgb */ color: rgb(205, 197, 119);
/* oklch */ color: oklch(81.3% 0.100 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded69f',
    500: '#cdc577',
    950: '#000000',
  },
}
SCSS
$custom: #cdc577;
$custom-light: #ded69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc577",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 54.419,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81267,
    "c": 0.09982,
    "h": 103.3
  },
  "luminance": 0.54244
}

Semantic roles & 50–950 ramp

primary
#CDC577
secondary
#4F569A
accent
#39B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC577

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

Preview Lab → · Contrast checker → · Palette generator →

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