#CDC777#CDC777

#CDC777 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.102 H 104.7°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CDC777
RGBrgb(205, 199, 119)
HSLhsl(56, 46%, 64%)
HSVhsv(56, 42%, 80%)
CMYKcmyk(0%, 2.9%, 42%, 19.6%)
CIE-LABlab(79.13, -9.33, 40.71)
CIE-LCHlch(79.13, 41.77, 102.90°)
OKLaboklab(81.69% -0.0259 0.0987)
OKLCHoklch(81.69% 0.102 104.7)
XYZxyz(48.9310, 55.1592, 25.5184)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC777 #777DCD
analogous
#CD9C77 #CDC777 #A8CD77
triadic
#CDC777 #77CDC7 #C777CD
tetradic
#CDC777 #77CD9C #777DCD #CD77A8
square
#CDC777 #77CD9C #777DCD #CD77A8
split-complementary
#CDC777 #77A8CD #9C77CD
monochromatic
#938D36 #BDB54A #CDC777 #DDD9A4 #EEECD0

Accessibility & contrast

On white

1.75
#CDC777 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CDC777 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC777
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC777#FFFFFF#000000##000000
##CDC7771.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C271
Deuteranopia (green-blind)
#D6C67A
Tritanopia (blue-blind)
#D8BDB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc777;
/* rgb */ color: rgb(205, 199, 119);
/* oklch */ color: oklch(81.7% 0.102 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded79f',
    500: '#cdc777',
    950: '#000000',
  },
}
SCSS
$custom: #cdc777;
$custom-light: #ded79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc777",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 119
  },
  "hsl": {
    "h": 55.814,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.10199,
    "h": 104.7
  },
  "luminance": 0.55158
}

Semantic roles & 50–950 ramp

primary
#CDC777
secondary
#4F549A
accent
#36B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC777

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

Preview Lab → · Contrast checker → · Palette generator →

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