#CDAC3C#CDAC3C

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

Color values

HEX#CDAC3C
RGBrgb(205, 172, 60)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.1%, 70.7%, 19.6%)
CIE-LABlab(71.43, 0.17, 59.34)
CIE-LCHlch(71.43, 59.34, 89.84°)
OKLaboklab(75.38% -0.0051 0.1323)
OKLCHoklch(75.38% 0.132 92.2)
XYZxyz(40.7471, 42.8128, 10.3916)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC3C #3C5DCD
analogous
#CD643C #CDAC3C #A6CD3C
triadic
#CDAC3C #3CCDAC #AC3CCD
tetradic
#CDAC3C #3CCD64 #3C5DCD #CD3CA6
square
#CDAC3C #3CCD64 #3C5DCD #CD3CA6
split-complementary
#CDAC3C #3CA6CD #643CCD
monochromatic
#715E1D #A2872A #CDAC3C #D9C16D #E6D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAC3C#FFFFFF#000000##000000
##CDAC3C1.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)
#BEA92C
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac3c;
/* rgb */ color: rgb(205, 172, 60);
/* oklch */ color: oklch(75.4% 0.132 92.2);
Tailwind
colors: {
  custom: {
    50: '#e0c478',
    500: '#cdac3c',
    950: '#000000',
  },
}
SCSS
$custom: #cdac3c;
$custom-light: #e0c478;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac3c",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 46.345,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75384,
    "c": 0.1324,
    "h": 92.2
  },
  "luminance": 0.4281
}

Semantic roles & 50–950 ramp

primary
#CDAC3C
secondary
#93A1D2
accent
#69E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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