#CDC976#CDC976

#CDC976 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.105 H 106.1°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CDC976
RGBrgb(205, 201, 118)
HSLhsl(57, 47%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2%, 42.4%, 19.6%)
CIE-LABlab(79.65, -10.45, 41.86)
CIE-LCHlch(79.65, 43.15, 104.02°)
OKLaboklab(82.09% -0.0292 0.1012)
OKLCHoklch(82.09% 0.105 106.1)
XYZxyz(49.3344, 56.0616, 25.3582)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC976 #767ACD
analogous
#CD9D76 #CDC976 #A5CD76
triadic
#CDC976 #76CDC9 #C976CD
tetradic
#CDC976 #76CD9D #767ACD #CD76A5
square
#CDC976 #76CD9D #767ACD #CD76A5
split-complementary
#CDC976 #76A5CD #9D76CD
monochromatic
#938F36 #BDB749 #CDC976 #DDDBA3 #EEECD0

Accessibility & contrast

On white

1.72
#CDC976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CDC976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC976
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC976#FFFFFF#000000##000000
##CDC9761.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C36F
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#D8BFB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc976;
/* rgb */ color: rgb(205, 201, 118);
/* oklch */ color: oklch(82.1% 0.105 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded99f',
    500: '#cdc976',
    950: '#000000',
  },
}
SCSS
$custom: #cdc976;
$custom-light: #ded99f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc976",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 118
  },
  "hsl": {
    "h": 57.241,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.10531,
    "h": 106.1
  },
  "luminance": 0.5606
}

Semantic roles & 50–950 ramp

primary
#CDC976
secondary
#4E5199
accent
#32BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC976

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

Preview Lab → · Contrast checker → · Palette generator →

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