#CDAF49#CDAF49

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

Color values

HEX#CDAF49
RGBrgb(205, 175, 73)
HSLhsl(46, 57%, 55%)
HSVhsv(46, 64%, 80%)
CMYKcmyk(0%, 14.6%, 64.4%, 19.6%)
CIE-LABlab(72.31, -0.68, 54.74)
CIE-LCHlch(72.31, 54.75, 90.72°)
OKLaboklab(76.11% -0.006 0.1247)
OKLCHoklch(76.11% 0.125 92.7)
XYZxyz(41.7114, 44.1224, 12.6215)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF49 #4967CD
analogous
#CD6D49 #CDAF49 #A9CD49
triadic
#CDAF49 #49CDAF #AF49CD
tetradic
#CDAF49 #49CD6D #4967CD #CD49A9
square
#CDAF49 #49CD6D #4967CD #CD49A9
split-complementary
#CDAF49 #49A9CD #6D49CD
monochromatic
#7A6622 #AA8E2F #CDAF49 #DAC479 #E7D9A9

Accessibility & contrast

On white

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

On black

9.82
#CDAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAF49
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAF49#FFFFFF#000000##000000
##CDAF491.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaf49;
/* rgb */ color: rgb(205, 175, 73);
/* oklch */ color: oklch(76.1% 0.125 92.7);
Tailwind
colors: {
  custom: {
    50: '#e0c680',
    500: '#cdaf49',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf49;
$custom-light: #e0c680;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf49",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 46.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.12486,
    "h": 92.7
  },
  "luminance": 0.4412
}

Semantic roles & 50–950 ramp

primary
#CDAF49
secondary
#9DAAD5
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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