#CDAD4A#CDAD4A

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

Color values

HEX#CDAD4A
RGBrgb(205, 173, 74)
HSLhsl(45, 57%, 55%)
HSVhsv(45, 64%, 80%)
CMYKcmyk(0%, 15.6%, 63.9%, 19.6%)
CIE-LABlab(71.80, 0.44, 53.74)
CIE-LCHlch(71.80, 53.74, 89.53°)
OKLaboklab(75.72% -0.0026 0.1227)
OKLCHoklch(75.72% 0.123 91.2)
XYZxyz(41.3585, 43.3630, 12.6687)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD4A #4A6ACD
analogous
#CD6C4A #CDAD4A #ABCD4A
triadic
#CDAD4A #4ACDAD #AD4ACD
tetradic
#CDAD4A #4ACD6C #4A6ACD #CD4AAB
square
#CDAD4A #4ACD6C #4A6ACD #CD4AAB
split-complementary
#CDAD4A #4AABCD #6C4ACD
monochromatic
#7B6522 #AB8C2F #CDAD4A #DAC37A #E7D8AA

Accessibility & contrast

On white

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

On black

9.67
#CDAD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD4A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD4A#FFFFFF#000000##000000
##CDAD4A1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdad4a;
/* rgb */ color: rgb(205, 173, 74);
/* oklch */ color: oklch(75.7% 0.123 91.2);
Tailwind
colors: {
  custom: {
    50: '#e0c581',
    500: '#cdad4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdad4a;
$custom-light: #e0c581;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad4a",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 74
  },
  "hsl": {
    "h": 45.344,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75715,
    "c": 0.12277,
    "h": 91.2
  },
  "luminance": 0.43361
}

Semantic roles & 50–950 ramp

primary
#CDAD4A
secondary
#9EABD5
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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