#CDAD3C#CDAD3C

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

Color values

HEX#CDAD3C
RGBrgb(205, 173, 60)
HSLhsl(47, 59%, 52%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.6%, 70.7%, 19.6%)
CIE-LABlab(71.69, -0.36, 59.60)
CIE-LCHlch(71.69, 59.60, 90.35°)
OKLaboklab(75.59% -0.0066 0.1329)
OKLCHoklch(75.59% 0.133 92.8)
XYZxyz(40.9382, 43.1949, 10.4552)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD3C #3C5CCD
analogous
#CD653C #CDAD3C #A4CD3C
triadic
#CDAD3C #3CCDAD #AD3CCD
tetradic
#CDAD3C #3CCD65 #3C5CCD #CD3CA4
square
#CDAD3C #3CCD65 #3C5CCD #CD3CA4
split-complementary
#CDAD3C #3CA4CD #653CCD
monochromatic
#715F1D #A2882A #CDAD3C #D9C16D #E6D69D

Accessibility & contrast

On white

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

On black

9.64
#CDAD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD3C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD3C#FFFFFF#000000##000000
##CDAD3C1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#DD9F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad3c;
/* rgb */ color: rgb(205, 173, 60);
/* oklch */ color: oklch(75.6% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#e0c578',
    500: '#cdad3c',
    950: '#000000',
  },
}
SCSS
$custom: #cdad3c;
$custom-light: #e0c578;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad3c",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 60
  },
  "hsl": {
    "h": 46.759,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75589,
    "c": 0.13301,
    "h": 92.8
  },
  "luminance": 0.43193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDAD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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