#CDC176#CDC176

#CDC176 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.097 H 100.3°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CDC176
RGBrgb(205, 193, 118)
HSLhsl(52, 47%, 63%)
HSVhsv(52, 42%, 80%)
CMYKcmyk(0%, 5.9%, 42.4%, 19.6%)
CIE-LABlab(77.54, -6.34, 39.21)
CIE-LCHlch(77.54, 39.72, 99.18°)
OKLaboklab(80.42% -0.0173 0.0952)
OKLCHoklch(80.42% 0.097 100.3)
XYZxyz(47.5179, 52.4285, 24.7527)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC176 #7682CD
analogous
#CD9576 #CDC176 #ADCD76
triadic
#CDC176 #76CDC1 #C176CD
tetradic
#CDC176 #76CD95 #7682CD #CD76AD
square
#CDC176 #76CD95 #7682CD #CD76AD
split-complementary
#CDC176 #76ADCD #9576CD
monochromatic
#938636 #BDAD49 #CDC176 #DDD5A3 #EEEAD0

Accessibility & contrast

On white

1.83
#CDC176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CDC176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC176
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC176#FFFFFF#000000##000000
##CDC1761.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#D9B7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc176;
/* rgb */ color: rgb(205, 193, 118);
/* oklch */ color: oklch(80.4% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#ded39e',
    500: '#cdc176',
    950: '#000000',
  },
}
SCSS
$custom: #cdc176;
$custom-light: #ded39e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc176",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 118
  },
  "hsl": {
    "h": 51.724,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80416,
    "c": 0.09677,
    "h": 100.3
  },
  "luminance": 0.52427
}

Semantic roles & 50–950 ramp

primary
#CDC176
secondary
#4E5899
accent
#3FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC176

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

Preview Lab → · Contrast checker → · Palette generator →

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