#CDAD3A#CDAD3A

#CDAD3A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.134 H 93.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CDAD3A
RGBrgb(205, 173, 58)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.6%, 71.7%, 19.6%)
CIE-LABlab(71.67, -0.46, 60.38)
CIE-LCHlch(71.67, 60.38, 90.44°)
OKLaboklab(75.57% -0.0071 0.1341)
OKLCHoklch(75.57% 0.134 93)
XYZxyz(40.8863, 43.1741, 10.1821)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD3A #3A5ACD
analogous
#CD643A #CDAD3A #A4CD3A
triadic
#CDAD3A #3ACDAD #AD3ACD
tetradic
#CDAD3A #3ACD64 #3A5ACD #CD3AA4
square
#CDAD3A #3ACD64 #3A5ACD #CD3AA4
split-complementary
#CDAD3A #3AA4CD #643ACD
monochromatic
#705E1C #A18729 #CDAD3A #D9C16B #E6D69C

Accessibility & contrast

On white

2.18
#CDAD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CDAD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD3A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD3A#FFFFFF#000000##000000
##CDAD3A1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA29
Deuteranopia (green-blind)
#C7B440
Tritanopia (blue-blind)
#DE9F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad3a;
/* rgb */ color: rgb(205, 173, 58);
/* oklch */ color: oklch(75.6% 0.134 93.0);
Tailwind
colors: {
  custom: {
    50: '#e0c577',
    500: '#cdad3a',
    950: '#000000',
  },
}
SCSS
$custom: #cdad3a;
$custom-light: #e0c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad3a",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 46.939,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.13432,
    "h": 93
  },
  "luminance": 0.43172
}

Semantic roles & 50–950 ramp

primary
#CDAD3A
secondary
#919FD2
accent
#67E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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