#CDC76C#CDC76C

#CDC76C is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.114 H 105.3°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CDC76C
RGBrgb(205, 199, 108)
HSLhsl(56, 49%, 61%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 2.9%, 47.3%, 19.6%)
CIE-LABlab(78.99, -10.41, 45.99)
CIE-LCHlch(78.99, 47.16, 102.76°)
OKLaboklab(81.53% -0.03 0.1097)
OKLCHoklch(81.53% 0.114 105.3)
XYZxyz(48.3082, 54.9100, 22.2384)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76C #6C72CD
analogous
#CD976C #CDC76C #A3CD6C
triadic
#CDC76C #6CCDC7 #C76CCD
tetradic
#CDC76C #6CCD97 #6C72CD #CD6CA3
square
#CDC76C #6CCD97 #6C72CD #CD6CA3
split-complementary
#CDC76C #6CA3CD #976CCD
monochromatic
#8E8830 #BCB440 #CDC76C #DDD89A #ECEAC7

Accessibility & contrast

On white

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

On black

11.98
#CDC76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC76C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC76C#FFFFFF#000000##000000
##CDC76C1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C164
Deuteranopia (green-blind)
#D7C670
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc76c;
/* rgb */ color: rgb(205, 199, 108);
/* oklch */ color: oklch(81.5% 0.114 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded798',
    500: '#cdc76c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76c;
$custom-light: #ded798;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76c",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 108
  },
  "hsl": {
    "h": 56.289,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81526,
    "c": 0.11373,
    "h": 105.3
  },
  "luminance": 0.54909
}

Semantic roles & 50–950 ramp

primary
#CDC76C
secondary
#484D95
accent
#32BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76C

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

Preview Lab → · Contrast checker → · Palette generator →

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