#CDAC3A#CDAC3A

#CDAC3A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.134 H 92.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CDAC3A
RGBrgb(205, 172, 58)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 16.1%, 71.7%, 19.6%)
CIE-LABlab(71.41, 0.07, 60.12)
CIE-LCHlch(71.41, 60.12, 89.93°)
OKLaboklab(75.37% -0.0056 0.1336)
OKLCHoklch(75.37% 0.134 92.4)
XYZxyz(40.6953, 42.7920, 10.1184)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC3A #3A5BCD
analogous
#CD633A #CDAC3A #A4CD3A
triadic
#CDAC3A #3ACDAC #AC3ACD
tetradic
#CDAC3A #3ACD63 #3A5BCD #CD3AA4
square
#CDAC3A #3ACD63 #3A5BCD #CD3AA4
split-complementary
#CDAC3A #3AA4CD #633ACD
monochromatic
#705D1C #A18629 #CDAC3A #D9C16B #E6D59C

Accessibility & contrast

On white

2.20
#CDAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CDAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC3A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC3A#FFFFFF#000000##000000
##CDAC3A1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA929
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac3a;
/* rgb */ color: rgb(205, 172, 58);
/* oklch */ color: oklch(75.4% 0.134 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0c477',
    500: '#cdac3a',
    950: '#000000',
  },
}
SCSS
$custom: #cdac3a;
$custom-light: #e0c477;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac3a",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 46.531,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75368,
    "c": 0.13371,
    "h": 92.4
  },
  "luminance": 0.4279
}

Semantic roles & 50–950 ramp

primary
#CDAC3A
secondary
#91A0D2
accent
#68E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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