#CDAD42#CDAD42

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

Color values

HEX#CDAD42
RGBrgb(205, 173, 66)
HSLhsl(46, 58%, 53%)
HSVhsv(46, 68%, 80%)
CMYKcmyk(0%, 15.6%, 67.8%, 19.6%)
CIE-LABlab(71.73, -0.04, 57.17)
CIE-LCHlch(71.73, 57.17, 90.04°)
OKLaboklab(75.64% -0.005 0.1288)
OKLCHoklch(75.64% 0.129 92.2)
XYZxyz(41.1059, 43.2619, 11.3385)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD42 #4262CD
analogous
#CD6742 #CDAD42 #A7CD42
triadic
#CDAD42 #42CDAD #AD42CD
tetradic
#CDAD42 #42CD67 #4262CD #CD42A7
square
#CDAD42 #42CD67 #4262CD #CD42A7
split-complementary
#CDAD42 #42A7CD #6742CD
monochromatic
#76621F #A68A2C #CDAD42 #DAC272 #E7D7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAD42#FFFFFF#000000##000000
##CDAD421.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)
#BFAA34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad42;
/* rgb */ color: rgb(205, 173, 66);
/* oklch */ color: oklch(75.6% 0.129 92.2);
Tailwind
colors: {
  custom: {
    50: '#e0c57c',
    500: '#cdad42',
    950: '#000000',
  },
}
SCSS
$custom: #cdad42;
$custom-light: #e0c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad42",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 66
  },
  "hsl": {
    "h": 46.187,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75639,
    "c": 0.12885,
    "h": 92.2
  },
  "luminance": 0.4326
}

Semantic roles & 50–950 ramp

primary
#CDAD42
secondary
#97A5D3
accent
#6AE146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAD42

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

Preview Lab → · Contrast checker → · Palette generator →

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