#CDAF48#CDAF48

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

Color values

HEX#CDAF48
RGBrgb(205, 175, 72)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 14.6%, 64.9%, 19.6%)
CIE-LABlab(72.30, -0.75, 55.17)
CIE-LCHlch(72.30, 55.18, 90.77°)
OKLaboklab(76.1% -0.0063 0.1255)
OKLCHoklch(76.1% 0.126 92.9)
XYZxyz(41.6785, 44.1092, 12.4483)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAF48 #4866CD
analogous
#CD6D48 #CDAF48 #A9CD48
triadic
#CDAF48 #48CDAF #AF48CD
tetradic
#CDAF48 #48CD6D #4866CD #CD48A9
square
#CDAF48 #48CD6D #4866CD #CD48A9
split-complementary
#CDAF48 #48A9CD #6D48CD
monochromatic
#796621 #A98E2E #CDAF48 #DAC478 #E7D9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAF48#FFFFFF#000000##000000
##CDAF481.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)
#C1AC3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdaf48;
/* rgb */ color: rgb(205, 175, 72);
/* oklch */ color: oklch(76.1% 0.126 92.9);
Tailwind
colors: {
  custom: {
    50: '#e0c67f',
    500: '#cdaf48',
    950: '#000000',
  },
}
SCSS
$custom: #cdaf48;
$custom-light: #e0c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaf48",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 46.466,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76104,
    "c": 0.12565,
    "h": 92.9
  },
  "luminance": 0.44107
}

Semantic roles & 50–950 ramp

primary
#CDAF48
secondary
#9CA9D5
accent
#6AE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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