#CDAE4F#CDAE4F

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

Color values

HEX#CDAE4F
RGBrgb(205, 174, 79)
HSLhsl(45, 56%, 56%)
HSVhsv(45, 61%, 80%)
CMYKcmyk(0%, 15.1%, 61.5%, 19.6%)
CIE-LABlab(72.11, 0.24, 51.80)
CIE-LCHlch(72.11, 51.80, 89.74°)
OKLaboklab(75.97% -0.0026 0.1193)
OKLCHoklch(75.97% 0.119 91.2)
XYZxyz(41.7261, 43.8180, 13.6555)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE4F #4F6ECD
analogous
#CD6F4F #CDAE4F #ADCD4F
triadic
#CDAE4F #4FCDAE #AE4FCD
tetradic
#CDAE4F #4FCD6F #4F6ECD #CD4FAD
square
#CDAE4F #4FCD6F #4F6ECD #CD4FAD
split-complementary
#CDAE4F #4FADCD #6F4FCD
monochromatic
#7E6824 #AE8F31 #CDAE4F #DBC47F #E8DAAE

Accessibility & contrast

On white

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

On black

9.76
#CDAE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE4F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE4F#FFFFFF#000000##000000
##CDAE4F1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdae4f;
/* rgb */ color: rgb(205, 174, 79);
/* oklch */ color: oklch(76.0% 0.119 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc584',
    500: '#cdae4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdae4f;
$custom-light: #dfc584;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae4f",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 45.238,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.75971,
    "c": 0.11933,
    "h": 91.2
  },
  "luminance": 0.43816
}

Semantic roles & 50–950 ramp

primary
#CDAE4F
secondary
#A2AFD6
accent
#6EDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDAE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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