#CDAD3F#CDAD3F

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

Color values

HEX#CDAD3F
RGBrgb(205, 173, 63)
HSLhsl(46, 59%, 53%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 15.6%, 69.3%, 19.6%)
CIE-LABlab(71.71, -0.20, 58.40)
CIE-LCHlch(71.71, 58.40, 90.20°)
OKLaboklab(75.61% -0.0058 0.1309)
OKLCHoklch(75.61% 0.131 92.5)
XYZxyz(41.0197, 43.2275, 10.8848)
Luminance0.4323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD3F #3F5FCD
analogous
#CD663F #CDAD3F #A6CD3F
triadic
#CDAD3F #3FCDAD #AD3FCD
tetradic
#CDAD3F #3FCD66 #3F5FCD #CD3FA6
square
#CDAD3F #3FCD66 #3F5FCD #CD3FA6
split-complementary
#CDAD3F #3FA6CD #663FCD
monochromatic
#74601E #A4892B #CDAD3F #DAC270 #E6D6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAD3F#FFFFFF#000000##000000
##CDAD3F1.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)
#BFAA30
Deuteranopia (green-blind)
#C7B445
Tritanopia (blue-blind)
#DD9F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad3f;
/* rgb */ color: rgb(205, 173, 63);
/* oklch */ color: oklch(75.6% 0.131 92.5);
Tailwind
colors: {
  custom: {
    50: '#e0c57a',
    500: '#cdad3f',
    950: '#000000',
  },
}
SCSS
$custom: #cdad3f;
$custom-light: #e0c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad3f",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 46.479,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.13098,
    "h": 92.5
  },
  "luminance": 0.43225
}

Semantic roles & 50–950 ramp

primary
#CDAD3F
secondary
#95A3D3
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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