#CDCC76#CDCC76

#CDCC76 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.109 H 108.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCC76
RGBrgb(205, 204, 118)
HSLhsl(59, 47%, 63%)
HSVhsv(59, 42%, 80%)
CMYKcmyk(0%, 0.5%, 42.4%, 19.6%)
CIE-LABlab(80.45, -11.98, 42.86)
CIE-LCHlch(80.45, 44.50, 105.61°)
OKLaboklab(82.72% -0.0336 0.1034)
OKLCHoklch(82.72% 0.109 108)
XYZxyz(50.0406, 57.4740, 25.5936)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC76 #7677CD
analogous
#CDA076 #CDCC76 #A2CD76
triadic
#CDCC76 #76CDCC #CC76CD
tetradic
#CDCC76 #76CDA0 #7677CD #CD76A2
square
#CDCC76 #76CDA0 #7677CD #CD76A2
split-complementary
#CDCC76 #76A2CD #A076CD
monochromatic
#939236 #BDBB49 #CDCC76 #DDDDA3 #EEEDD0

Accessibility & contrast

On white

1.68
#CDCC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CDCC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC76
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC76#FFFFFF#000000##000000
##CDCC761.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66F
Deuteranopia (green-blind)
#DAC97A
Tritanopia (blue-blind)
#D8C2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc76;
/* rgb */ color: rgb(205, 204, 118);
/* oklch */ color: oklch(82.7% 0.109 108.0);
Tailwind
colors: {
  custom: {
    50: '#dedb9f',
    500: '#cdcc76',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc76;
$custom-light: #dedb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc76",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 118
  },
  "hsl": {
    "h": 59.31,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82724,
    "c": 0.10873,
    "h": 108
  },
  "luminance": 0.57473
}

Semantic roles & 50–950 ramp

primary
#CDCC76
secondary
#4E4F99
accent
#2DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC76

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

Preview Lab → · Contrast checker → · Palette generator →

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