#CDAE2D#CDAE2D

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

Color values

HEX#CDAE2D
RGBrgb(205, 174, 45)
HSLhsl(48, 64%, 49%)
HSVhsv(48, 78%, 80%)
CMYKcmyk(0%, 15.1%, 78%, 19.6%)
CIE-LABlab(71.85, -1.54, 65.27)
CIE-LCHlch(71.85, 65.29, 91.35°)
OKLaboklab(75.69% -0.0115 0.142)
OKLCHoklch(75.69% 0.142 94.6)
XYZxyz(40.7888, 43.4431, 8.7191)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE2D #2D4CCD
analogous
#CD5E2D #CDAE2D #9CCD2D
triadic
#CDAE2D #2DCDAE #AE2DCD
tetradic
#CDAE2D #2DCD5E #2D4CCD #CD2D9C
square
#CDAE2D #2DCD5E #2D4CCD #CD2D9C
split-complementary
#CDAE2D #2D9CCD #5E2DCD
monochromatic
#695917 #9B8322 #CDAE2D #DBC35C #E6D58E

Accessibility & contrast

On white

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

On black

9.69
#CDAE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE2D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE2D#FFFFFF#000000##000000
##CDAE2D1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB0F
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#DEA096
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae2d;
/* rgb */ color: rgb(205, 174, 45);
/* oklch */ color: oklch(75.7% 0.142 94.6);
Tailwind
colors: {
  custom: {
    50: '#e1c571',
    500: '#cdae2d',
    950: '#000000',
  },
}
SCSS
$custom: #cdae2d;
$custom-light: #e1c571;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae2d",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 48.375,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75692,
    "c": 0.14246,
    "h": 94.6
  },
  "luminance": 0.43441
}

Semantic roles & 50–950 ramp

primary
#CDAE2D
secondary
#8594D1
accent
#61E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CDAE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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