#CDC677#CDC677

#CDC677 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.101 H 104.0°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CDC677
RGBrgb(205, 198, 119)
HSLhsl(55, 46%, 64%)
HSVhsv(55, 42%, 80%)
CMYKcmyk(0%, 3.4%, 42%, 19.6%)
CIE-LABlab(78.87, -8.81, 40.38)
CIE-LCHlch(78.87, 41.33, 102.31°)
OKLaboklab(81.48% -0.0244 0.0979)
OKLCHoklch(81.48% 0.101 104)
XYZxyz(48.7016, 54.7005, 25.4420)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC677 #777ECD
analogous
#CD9B77 #CDC677 #A9CD77
triadic
#CDC677 #77CDC6 #C677CD
tetradic
#CDC677 #77CD9B #777ECD #CD77A9
square
#CDC677 #77CD9B #777ECD #CD77A9
split-complementary
#CDC677 #77A9CD #9B77CD
monochromatic
#938C36 #BDB34A #CDC677 #DDD9A4 #EEECD0

Accessibility & contrast

On white

1.76
#CDC677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CDC677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC677
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC677#FFFFFF#000000##000000
##CDC6771.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C171
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc677;
/* rgb */ color: rgb(205, 198, 119);
/* oklch */ color: oklch(81.5% 0.101 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded79f',
    500: '#cdc677',
    950: '#000000',
  },
}
SCSS
$custom: #cdc677;
$custom-light: #ded79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc677",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 119
  },
  "hsl": {
    "h": 55.116,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81476,
    "c": 0.1009,
    "h": 104
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#CDC677
secondary
#4F559A
accent
#38B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC677

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

Preview Lab → · Contrast checker → · Palette generator →

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