#CDAC47#CDAC47

#CDAC47 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.124 H 90.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CDAC47
RGBrgb(205, 172, 71)
HSLhsl(45, 57%, 54%)
HSVhsv(45, 65%, 80%)
CMYKcmyk(0%, 16.1%, 65.4%, 19.6%)
CIE-LABlab(71.52, 0.78, 54.77)
CIE-LCHlch(71.52, 54.78, 89.18°)
OKLaboklab(75.48% -0.002 0.1245)
OKLCHoklch(75.48% 0.125 90.9)
XYZxyz(41.0688, 42.9414, 12.0854)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC47 #4768CD
analogous
#CD6947 #CDAC47 #ABCD47
triadic
#CDAC47 #47CDAC #AC47CD
tetradic
#CDAC47 #47CD69 #4768CD #CD47AB
square
#CDAC47 #47CD69 #4768CD #CD47AB
split-complementary
#CDAC47 #47ABCD #6947CD
monochromatic
#796321 #A98B2E #CDAC47 #DAC277 #E7D7A7

Accessibility & contrast

On white

2.19
#CDAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CDAC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC47
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC47#FFFFFF#000000##000000
##CDAC471.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#DD9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac47;
/* rgb */ color: rgb(205, 172, 71);
/* oklch */ color: oklch(75.5% 0.124 90.9);
Tailwind
colors: {
  custom: {
    50: '#e0c47f',
    500: '#cdac47',
    950: '#000000',
  },
}
SCSS
$custom: #cdac47;
$custom-light: #e0c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac47",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 45.224,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.1245,
    "h": 90.9
  },
  "luminance": 0.42939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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