#CDC76D#CDC76D

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

Color values

HEX#CDC76D
RGBrgb(205, 199, 109)
HSLhsl(56, 49%, 62%)
HSVhsv(56, 47%, 80%)
CMYKcmyk(0%, 2.9%, 46.8%, 19.6%)
CIE-LABlab(79.00, -10.32, 45.52)
CIE-LCHlch(79.00, 46.67, 102.77°)
OKLaboklab(81.54% -0.0296 0.1087)
OKLCHoklch(81.54% 0.113 105.2)
XYZxyz(48.3617, 54.9314, 22.5203)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76D #6D73CD
analogous
#CD976D #CDC76D #A3CD6D
triadic
#CDC76D #6DCDC7 #C76DCD
tetradic
#CDC76D #6DCD97 #6D73CD #CD6DA3
square
#CDC76D #6DCD97 #6D73CD #CD6DA3
split-complementary
#CDC76D #6DA3CD #976DCD
monochromatic
#8F8931 #BCB540 #CDC76D #DDD89B #ECEAC8

Accessibility & contrast

On white

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

On black

11.99
#CDC76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC76D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC76D#FFFFFF#000000##000000
##CDC76D1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C165
Deuteranopia (green-blind)
#D7C671
Tritanopia (blue-blind)
#D9BDB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc76d;
/* rgb */ color: rgb(205, 199, 109);
/* oklch */ color: oklch(81.5% 0.113 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded799',
    500: '#cdc76d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76d;
$custom-light: #ded799;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76d",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 56.25,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81539,
    "c": 0.11269,
    "h": 105.2
  },
  "luminance": 0.5493
}

Semantic roles & 50–950 ramp

primary
#CDC76D
secondary
#494E95
accent
#32BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76D

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

Preview Lab → · Contrast checker → · Palette generator →

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