#CDAD4C#CDAD4C

#CDAD4C is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.121 H 90.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CDAD4C
RGBrgb(205, 173, 76)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.6%, 62.9%, 19.6%)
CIE-LABlab(71.82, 0.57, 52.86)
CIE-LCHlch(71.82, 52.86, 89.39°)
OKLaboklab(75.74% -0.002 0.1211)
OKLCHoklch(75.74% 0.121 90.9)
XYZxyz(41.4269, 43.3904, 13.0292)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD4C #4C6CCD
analogous
#CD6C4C #CDAD4C #ADCD4C
triadic
#CDAD4C #4CCDAD #AD4CCD
tetradic
#CDAD4C #4CCD6C #4C6CCD #CD4CAD
square
#CDAD4C #4CCD6C #4C6CCD #CD4CAD
split-complementary
#CDAD4C #4CADCD #6C4CCD
monochromatic
#7C6623 #AC8D30 #CDAD4C #DAC37C #E8D9AC

Accessibility & contrast

On white

2.17
#CDAD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CDAD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD4C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD4C#FFFFFF#000000##000000
##CDAD4C1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB41
Deuteranopia (green-blind)
#C6B450
Tritanopia (blue-blind)
#DDA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad4c;
/* rgb */ color: rgb(205, 173, 76);
/* oklch */ color: oklch(75.7% 0.121 90.9);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#cdad4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdad4c;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad4c",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 76
  },
  "hsl": {
    "h": 45.116,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75735,
    "c": 0.12116,
    "h": 90.9
  },
  "luminance": 0.43388
}

Semantic roles & 50–950 ramp

primary
#CDAD4C
secondary
#9FADD5
accent
#6EE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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