#CDAD4D#CDAD4D

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

Color values

HEX#CDAD4D
RGBrgb(205, 173, 77)
HSLhsl(45, 56%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.6%, 62.4%, 19.6%)
CIE-LABlab(71.83, 0.63, 52.41)
CIE-LCHlch(71.83, 52.41, 89.31°)
OKLaboklab(75.75% -0.0017 0.1203)
OKLCHoklch(75.75% 0.12 90.8)
XYZxyz(41.4619, 43.4044, 13.2137)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD4D #4D6DCD
analogous
#CD6D4D #CDAD4D #ADCD4D
triadic
#CDAD4D #4DCDAD #AD4DCD
tetradic
#CDAD4D #4DCD6D #4D6DCD #CD4DAD
square
#CDAD4D #4DCD6D #4D6DCD #CD4DAD
split-complementary
#CDAD4D #4DADCD #6D4DCD
monochromatic
#7D6623 #AC8D30 #CDAD4D #DAC37D #E8D9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAD4D#FFFFFF#000000##000000
##CDAD4D1.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)
#BEAB43
Deuteranopia (green-blind)
#C6B451
Tritanopia (blue-blind)
#DDA098
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad4d;
/* rgb */ color: rgb(205, 173, 77);
/* oklch */ color: oklch(75.7% 0.120 90.8);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#cdad4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdad4d;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad4d",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 77
  },
  "hsl": {
    "h": 45,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75746,
    "c": 0.12034,
    "h": 90.8
  },
  "luminance": 0.43402
}

Semantic roles & 50–950 ramp

primary
#CDAD4D
secondary
#A0AED6
accent
#6EDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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