#CDC77D#CDC77D

#CDC77D is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.095 H 104.3°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CDC77D
RGBrgb(205, 199, 125)
HSLhsl(56, 44%, 65%)
HSVhsv(56, 39%, 80%)
CMYKcmyk(0%, 2.9%, 39%, 19.6%)
CIE-LABlab(79.22, -8.68, 37.78)
CIE-LCHlch(79.22, 38.77, 102.94°)
OKLaboklab(81.78% -0.0235 0.0923)
OKLCHoklch(81.78% 0.095 104.3)
XYZxyz(49.3027, 55.3079, 27.4764)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC77D #7D83CD
analogous
#CD9F7D #CDC77D #ABCD7D
triadic
#CDC77D #7DCDC7 #C77DCD
tetradic
#CDC77D #7DCD9F #7D83CD #CD7DAB
square
#CDC77D #7DCD9F #7D83CD #CD7DAB
split-complementary
#CDC77D #7DABCD #9F7DCD
monochromatic
#968F3A #BCB451 #CDC77D #DEDAA9 #EFEDD5

Accessibility & contrast

On white

1.74
#CDC77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CDC77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC77D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC77D#FFFFFF#000000##000000
##CDC77D1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C277
Deuteranopia (green-blind)
#D6C680
Tritanopia (blue-blind)
#D8BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc77d;
/* rgb */ color: rgb(205, 199, 125);
/* oklch */ color: oklch(81.8% 0.095 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd7a3',
    500: '#cdc77d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc77d;
$custom-light: #ddd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc77d",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 55.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81782,
    "c": 0.09528,
    "h": 104.3
  },
  "luminance": 0.55307
}

Semantic roles & 50–950 ramp

primary
#CDC77D
secondary
#52589C
accent
#38B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC77D

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

Preview Lab → · Contrast checker → · Palette generator →

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