#CDAD47#CDAD47

#CDAD47 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.7% C 0.125 H 91.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CDAD47
RGBrgb(205, 173, 71)
HSLhsl(46, 57%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 15.6%, 65.4%, 19.6%)
CIE-LABlab(71.77, 0.25, 55.05)
CIE-LCHlch(71.77, 55.05, 89.74°)
OKLaboklab(75.69% -0.0035 0.1251)
OKLCHoklch(75.69% 0.125 91.6)
XYZxyz(41.2598, 43.3235, 12.1490)
Luminance0.4332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD47 #4767CD
analogous
#CD6A47 #CDAD47 #AACD47
triadic
#CDAD47 #47CDAD #AD47CD
tetradic
#CDAD47 #47CD6A #4767CD #CD47AA
square
#CDAD47 #47CD6A #4767CD #CD47AA
split-complementary
#CDAD47 #47AACD #6A47CD
monochromatic
#796421 #A98C2E #CDAD47 #DAC277 #E7D8A7

Accessibility & contrast

On white

2.17
#CDAD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CDAD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD47
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD47#FFFFFF#000000##000000
##CDAD471.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3B
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad47;
/* rgb */ color: rgb(205, 173, 71);
/* oklch */ color: oklch(75.7% 0.125 91.6);
Tailwind
colors: {
  custom: {
    50: '#e0c57f',
    500: '#cdad47',
    950: '#000000',
  },
}
SCSS
$custom: #cdad47;
$custom-light: #e0c57f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad47",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 71
  },
  "hsl": {
    "h": 45.672,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75685,
    "c": 0.12512,
    "h": 91.6
  },
  "luminance": 0.43321
}

Semantic roles & 50–950 ramp

primary
#CDAD47
secondary
#9BA9D4
accent
#6CE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAD47

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

Preview Lab → · Contrast checker → · Palette generator →

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