#CDC876#CDC876

#CDC876 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.104 H 105.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CDC876
RGBrgb(205, 200, 118)
HSLhsl(57, 47%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2.4%, 42.4%, 19.6%)
CIE-LABlab(79.38, -9.94, 41.53)
CIE-LCHlch(79.38, 42.70, 103.46°)
OKLaboklab(81.88% -0.0277 0.1004)
OKLCHoklch(81.88% 0.104 105.4)
XYZxyz(49.1021, 55.5969, 25.2807)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC876 #767BCD
analogous
#CD9C76 #CDC876 #A6CD76
triadic
#CDC876 #76CDC8 #C876CD
tetradic
#CDC876 #76CD9C #767BCD #CD76A6
square
#CDC876 #76CD9C #767BCD #CD76A6
split-complementary
#CDC876 #76A6CD #9C76CD
monochromatic
#938E36 #BDB649 #CDC876 #DDDAA3 #EEECD0

Accessibility & contrast

On white

1.73
#CDC876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CDC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC876
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC876#FFFFFF#000000##000000
##CDC8761.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26F
Deuteranopia (green-blind)
#D7C77A
Tritanopia (blue-blind)
#D8BEB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc876;
/* rgb */ color: rgb(205, 200, 118);
/* oklch */ color: oklch(81.9% 0.104 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded89f',
    500: '#cdc876',
    950: '#000000',
  },
}
SCSS
$custom: #cdc876;
$custom-light: #ded89f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc876",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 56.552,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81881,
    "c": 0.10419,
    "h": 105.4
  },
  "luminance": 0.55596
}

Semantic roles & 50–950 ramp

primary
#CDC876
secondary
#4E5299
accent
#34BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC876

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

Preview Lab → · Contrast checker → · Palette generator →

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