#CDAD40#CDAD40

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

Color values

HEX#CDAD40
RGBrgb(205, 173, 64)
HSLhsl(46, 59%, 53%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 15.6%, 68.8%, 19.6%)
CIE-LABlab(71.72, -0.15, 57.99)
CIE-LCHlch(71.72, 57.99, 90.15°)
OKLaboklab(75.62% -0.0055 0.1302)
OKLCHoklch(75.62% 0.13 92.4)
XYZxyz(41.0479, 43.2388, 11.0333)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD40 #4060CD
analogous
#CD6640 #CDAD40 #A6CD40
triadic
#CDAD40 #40CDAD #AD40CD
tetradic
#CDAD40 #40CD66 #4060CD #CD40A6
square
#CDAD40 #40CD66 #4060CD #CD40A6
split-complementary
#CDAD40 #40A6CD #6640CD
monochromatic
#74611E #A5892B #CDAD40 #DAC271 #E6D7A1

Accessibility & contrast

On white

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

On black

9.65
#CDAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD40
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD40#FFFFFF#000000##000000
##CDAD401.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#DD9F97
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad40;
/* rgb */ color: rgb(205, 173, 64);
/* oklch */ color: oklch(75.6% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0c57b',
    500: '#cdad40',
    950: '#000000',
  },
}
SCSS
$custom: #cdad40;
$custom-light: #e0c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad40",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 46.383,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.13028,
    "h": 92.4
  },
  "luminance": 0.43236
}

Semantic roles & 50–950 ramp

primary
#CDAD40
secondary
#96A4D3
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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