#CDC174#CDC174

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

Color values

HEX#CDC174
RGBrgb(205, 193, 116)
HSLhsl(52, 47%, 63%)
HSVhsv(52, 43%, 80%)
CMYKcmyk(0%, 5.9%, 43.4%, 19.6%)
CIE-LABlab(77.51, -6.55, 40.18)
CIE-LCHlch(77.51, 40.71, 99.25°)
OKLaboklab(80.38% -0.0181 0.0973)
OKLCHoklch(80.38% 0.099 100.5)
XYZxyz(47.4003, 52.3815, 24.1334)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC174 #7480CD
analogous
#CD9474 #CDC174 #ACCD74
triadic
#CDC174 #74CDC1 #C174CD
tetradic
#CDC174 #74CD94 #7480CD #CD74AC
square
#CDC174 #74CD94 #7480CD #CD74AC
split-complementary
#CDC174 #74ACCD #9474CD
monochromatic
#928535 #BDAD47 #CDC174 #DDD5A1 #EDE9CE

Accessibility & contrast

On white

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

On black

11.48
#CDC174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC174
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC174#FFFFFF#000000##000000
##CDC1741.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD6E
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc174;
/* rgb */ color: rgb(205, 193, 116);
/* oklch */ color: oklch(80.4% 0.099 100.5);
Tailwind
colors: {
  custom: {
    50: '#ded39d',
    500: '#cdc174',
    950: '#000000',
  },
}
SCSS
$custom: #cdc174;
$custom-light: #ded39d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc174",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 116
  },
  "hsl": {
    "h": 51.91,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80384,
    "c": 0.09897,
    "h": 100.5
  },
  "luminance": 0.5238
}

Semantic roles & 50–950 ramp

primary
#CDC174
secondary
#4D5798
accent
#3EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC174

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

Preview Lab → · Contrast checker → · Palette generator →

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