#CDAE51#CDAE51

#CDAE51 is a light, moderate yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.118 H 90.9°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CDAE51
RGBrgb(205, 174, 81)
HSLhsl(45, 55%, 56%)
HSVhsv(45, 60%, 80%)
CMYKcmyk(0%, 15.1%, 60.5%, 19.6%)
CIE-LABlab(72.13, 0.38, 50.89)
CIE-LCHlch(72.13, 50.89, 89.58°)
OKLaboklab(75.99% -0.0019 0.1176)
OKLCHoklch(75.99% 0.118 90.9)
XYZxyz(41.8000, 43.8475, 14.0447)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE51 #5170CD
analogous
#CD7051 #CDAE51 #AECD51
triadic
#CDAE51 #51CDAE #AE51CD
tetradic
#CDAE51 #51CD70 #5170CD #CD51AE
square
#CDAE51 #51CD70 #5170CD #CD51AE
split-complementary
#CDAE51 #51AECD #7051CD
monochromatic
#7F6825 #AF9032 #CDAE51 #DBC481 #E8DAB0

Accessibility & contrast

On white

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

On black

9.77
#CDAE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE51
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE51#FFFFFF#000000##000000
##CDAE511.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC47
Deuteranopia (green-blind)
#C7B555
Tritanopia (blue-blind)
#DCA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdae51;
/* rgb */ color: rgb(205, 174, 81);
/* oklch */ color: oklch(76.0% 0.118 90.9);
Tailwind
colors: {
  custom: {
    50: '#dfc585',
    500: '#cdae51',
    950: '#000000',
  },
}
SCSS
$custom: #cdae51;
$custom-light: #dfc585;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae51",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75993,
    "c": 0.11763,
    "h": 90.9
  },
  "luminance": 0.43845
}

Semantic roles & 50–950 ramp

primary
#CDAE51
secondary
#A3B0D7
accent
#6FDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAE51

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

Preview Lab → · Contrast checker → · Palette generator →

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