#CDAE4C#CDAE4C

#CDAE4C is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.122 H 91.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CDAE4C
RGBrgb(205, 174, 76)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 15.1%, 62.9%, 19.6%)
CIE-LABlab(72.08, 0.04, 53.14)
CIE-LCHlch(72.08, 53.14, 89.96°)
OKLaboklab(75.94% -0.0035 0.1218)
OKLCHoklch(75.94% 0.122 91.7)
XYZxyz(41.6194, 43.7753, 13.0934)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE4C #4C6BCD
analogous
#CD6D4C #CDAE4C #ACCD4C
triadic
#CDAE4C #4CCDAE #AE4CCD
tetradic
#CDAE4C #4CCD6D #4C6BCD #CD4CAC
square
#CDAE4C #4CCD6D #4C6BCD #CD4CAC
split-complementary
#CDAE4C #4CACCD #6D4CCD
monochromatic
#7C6723 #AC8E30 #CDAE4C #DAC47C #E8D9AC

Accessibility & contrast

On white

2.15
#CDAE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CDAE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE4C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE4C#FFFFFF#000000##000000
##CDAE4C1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB41
Deuteranopia (green-blind)
#C7B450
Tritanopia (blue-blind)
#DDA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdae4c;
/* rgb */ color: rgb(205, 174, 76);
/* oklch */ color: oklch(75.9% 0.122 91.7);
Tailwind
colors: {
  custom: {
    50: '#dfc582',
    500: '#cdae4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdae4c;
$custom-light: #dfc582;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae4c",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 76
  },
  "hsl": {
    "h": 45.581,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75939,
    "c": 0.1218,
    "h": 91.7
  },
  "luminance": 0.43773
}

Semantic roles & 50–950 ramp

primary
#CDAE4C
secondary
#9FACD5
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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