#CDAC3D#CDAC3D

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

Color values

HEX#CDAC3D
RGBrgb(205, 172, 61)
HSLhsl(46, 59%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.1%, 70.2%, 19.6%)
CIE-LABlab(71.44, 0.22, 58.94)
CIE-LCHlch(71.44, 58.94, 89.79°)
OKLaboklab(75.39% -0.0048 0.1316)
OKLCHoklch(75.39% 0.132 92.1)
XYZxyz(40.7738, 42.8235, 10.5321)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC3D #3D5ECD
analogous
#CD643D #CDAC3D #A6CD3D
triadic
#CDAC3D #3DCDAC #AC3DCD
tetradic
#CDAC3D #3DCD64 #3D5ECD #CD3DA6
square
#CDAC3D #3DCD64 #3D5ECD #CD3DA6
split-complementary
#CDAC3D #3DA6CD #643DCD
monochromatic
#725F1D #A3872A #CDAC3D #DAC16E #E6D69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAC3D#FFFFFF#000000##000000
##CDAC3D1.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)
#BEA92E
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#DD9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac3d;
/* rgb */ color: rgb(205, 172, 61);
/* oklch */ color: oklch(75.4% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c479',
    500: '#cdac3d',
    950: '#000000',
  },
}
SCSS
$custom: #cdac3d;
$custom-light: #e0c479;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac3d",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 46.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75392,
    "c": 0.13173,
    "h": 92.1
  },
  "luminance": 0.42821
}

Semantic roles & 50–950 ramp

primary
#CDAC3D
secondary
#93A2D2
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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