#CDC776#CDC776

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

Color values

HEX#CDC776
RGBrgb(205, 199, 118)
HSLhsl(56, 47%, 63%)
HSVhsv(56, 42%, 80%)
CMYKcmyk(0%, 2.9%, 42.4%, 19.6%)
CIE-LABlab(79.12, -9.43, 41.20)
CIE-LCHlch(79.12, 42.26, 102.89°)
OKLaboklab(81.67% -0.0262 0.0997)
OKLCHoklch(81.67% 0.103 104.7)
XYZxyz(48.8712, 55.1353, 25.2038)
Luminance0.5513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC776 #767CCD
analogous
#CD9B76 #CDC776 #A7CD76
triadic
#CDC776 #76CDC7 #C776CD
tetradic
#CDC776 #76CD9B #767CCD #CD76A7
square
#CDC776 #76CD9B #767CCD #CD76A7
split-complementary
#CDC776 #76A7CD #9B76CD
monochromatic
#938D36 #BDB549 #CDC776 #DDD9A3 #EEECD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC776#FFFFFF#000000##000000
##CDC7761.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)
#D4C270
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D8BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc776;
/* rgb */ color: rgb(205, 199, 118);
/* oklch */ color: oklch(81.7% 0.103 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded79f',
    500: '#cdc776',
    950: '#000000',
  },
}
SCSS
$custom: #cdc776;
$custom-light: #ded79f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc776",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 118
  },
  "hsl": {
    "h": 55.862,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81671,
    "c": 0.1031,
    "h": 104.7
  },
  "luminance": 0.55134
}

Semantic roles & 50–950 ramp

primary
#CDC776
secondary
#4E5399
accent
#36BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC776

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

Preview Lab → · Contrast checker → · Palette generator →

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