#CDAF4A#CDAF4A

#CDAF4A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.124 H 92.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CDAF4A
RGBrgb(205, 175, 74)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 64%, 80%)
CMYKcmyk(0%, 14.6%, 63.9%, 19.6%)
CIE-LABlab(72.32, -0.62, 54.31)
CIE-LCHlch(72.32, 54.31, 90.65°)
OKLaboklab(76.12% -0.0057 0.1239)
OKLCHoklch(76.12% 0.124 92.6)
XYZxyz(41.7448, 44.1357, 12.7975)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF4A #4A68CD
analogous
#CD6E4A #CDAF4A #A9CD4A
triadic
#CDAF4A #4ACDAF #AF4ACD
tetradic
#CDAF4A #4ACD6E #4A68CD #CD4AA9
square
#CDAF4A #4ACD6E #4A68CD #CD4AA9
split-complementary
#CDAF4A #4AA9CD #6E4ACD
monochromatic
#7B6622 #AB8E2F #CDAF4A #DAC47A #E7D9AA

Accessibility & contrast

On white

2.14
#CDAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CDAF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF4A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF4A#FFFFFF#000000##000000
##CDAF4A1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3F
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf4a;
/* rgb */ color: rgb(205, 175, 74);
/* oklch */ color: oklch(76.1% 0.124 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0c681',
    500: '#cdaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf4a;
$custom-light: #e0c681;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf4a",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 46.26,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76124,
    "c": 0.12407,
    "h": 92.6
  },
  "luminance": 0.44133
}

Semantic roles & 50–950 ramp

primary
#CDAF4A
secondary
#9EAAD5
accent
#6BE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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