#CDAF4C#CDAF4C

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

Color values

HEX#CDAF4C
RGBrgb(205, 175, 76)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 14.6%, 62.9%, 19.6%)
CIE-LABlab(72.34, -0.49, 53.43)
CIE-LCHlch(72.34, 53.43, 90.53°)
OKLaboklab(76.14% -0.005 0.1224)
OKLCHoklch(76.14% 0.122 92.4)
XYZxyz(41.8133, 44.1631, 13.1580)
Luminance0.4416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF4C #4C6ACD
analogous
#CD6F4C #CDAF4C #AACD4C
triadic
#CDAF4C #4CCDAF #AF4CCD
tetradic
#CDAF4C #4CCD6F #4C6ACD #CD4CAA
square
#CDAF4C #4CCD6F #4C6ACD #CD4CAA
split-complementary
#CDAF4C #4CAACD #6F4CCD
monochromatic
#7C6723 #AC8F30 #CDAF4C #DAC47C #E8DAAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF4C#FFFFFF#000000##000000
##CDAF4C1.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)
#C0AC41
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DDA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf4c;
/* rgb */ color: rgb(205, 175, 76);
/* oklch */ color: oklch(76.1% 0.122 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfc682',
    500: '#cdaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf4c;
$custom-light: #dfc682;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf4c",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 46.047,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.12246,
    "h": 92.4
  },
  "luminance": 0.44161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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