#CDAF4D#CDAF4D

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

Color values

HEX#CDAF4D
RGBrgb(205, 175, 77)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.6%, 62.4%, 19.6%)
CIE-LABlab(72.35, -0.43, 52.98)
CIE-LCHlch(72.35, 52.98, 90.46°)
OKLaboklab(76.16% -0.0047 0.1216)
OKLCHoklch(76.16% 0.122 92.2)
XYZxyz(41.8483, 44.1771, 13.3425)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF4D #4D6BCD
analogous
#CD6F4D #CDAF4D #ABCD4D
triadic
#CDAF4D #4DCDAF #AF4DCD
tetradic
#CDAF4D #4DCD6F #4D6BCD #CD4DAB
square
#CDAF4D #4DCD6F #4D6BCD #CD4DAB
split-complementary
#CDAF4D #4DABCD #6F4DCD
monochromatic
#7D6823 #AC8F30 #CDAF4D #DAC47D #E8DAAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF4D#FFFFFF#000000##000000
##CDAF4D1.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)
#C0AC42
Deuteranopia (green-blind)
#C8B551
Tritanopia (blue-blind)
#DDA29A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf4d;
/* rgb */ color: rgb(205, 175, 77);
/* oklch */ color: oklch(76.2% 0.122 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfc683',
    500: '#cdaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf4d;
$custom-light: #dfc683;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf4d",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 45.938,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.12164,
    "h": 92.2
  },
  "luminance": 0.44175
}

Semantic roles & 50–950 ramp

primary
#CDAF4D
secondary
#A0ADD6
accent
#6CDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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