#CDC177#CDC177

#CDC177 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.096 H 100.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CDC177
RGBrgb(205, 193, 119)
HSLhsl(52, 46%, 64%)
HSVhsv(52, 42%, 80%)
CMYKcmyk(0%, 5.9%, 42%, 19.6%)
CIE-LABlab(77.55, -6.23, 38.72)
CIE-LCHlch(77.55, 39.21, 99.15°)
OKLaboklab(80.43% -0.017 0.0942)
OKLCHoklch(80.43% 0.096 100.2)
XYZxyz(47.5776, 52.4524, 25.0673)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC177 #7783CD
analogous
#CD9677 #CDC177 #AECD77
triadic
#CDC177 #77CDC1 #C177CD
tetradic
#CDC177 #77CD96 #7783CD #CD77AE
square
#CDC177 #77CD96 #7783CD #CD77AE
split-complementary
#CDC177 #77AECD #9677CD
monochromatic
#938636 #BDAD4A #CDC177 #DDD5A4 #EEEAD0

Accessibility & contrast

On white

1.83
#CDC177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CDC177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC177
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC177#FFFFFF#000000##000000
##CDC1771.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD71
Deuteranopia (green-blind)
#D2C27A
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc177;
/* rgb */ color: rgb(205, 193, 119);
/* oklch */ color: oklch(80.4% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#ded39f',
    500: '#cdc177',
    950: '#000000',
  },
}
SCSS
$custom: #cdc177;
$custom-light: #ded39f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc177",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 119
  },
  "hsl": {
    "h": 51.628,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80431,
    "c": 0.09567,
    "h": 100.2
  },
  "luminance": 0.52451
}

Semantic roles & 50–950 ramp

primary
#CDC177
secondary
#4F599A
accent
#40B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC177

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

Preview Lab → · Contrast checker → · Palette generator →

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