#CDAA39#CDAA39

#CDAA39 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 75.0% C 0.133 H 91.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CDAA39
RGBrgb(205, 170, 57)
HSLhsl(46, 60%, 51%)
HSVhsv(46, 72%, 80%)
CMYKcmyk(0%, 17.1%, 72.2%, 19.6%)
CIE-LABlab(70.89, 1.08, 60.00)
CIE-LCHlch(70.89, 60.01, 88.97°)
OKLaboklab(74.95% -0.0028 0.1331)
OKLCHoklch(74.95% 0.133 91.2)
XYZxyz(40.2923, 42.0264, 9.8598)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAA39 #395CCD
analogous
#CD6039 #CDAA39 #A6CD39
triadic
#CDAA39 #39CDAA #AA39CD
tetradic
#CDAA39 #39CD60 #395CCD #CD39A6
square
#CDAA39 #39CD60 #395CCD #CD39A6
split-complementary
#CDAA39 #39A6CD #6039CD
monochromatic
#6F5C1C #A08428 #CDAA39 #D9BF6A #E6D49B

Accessibility & contrast

On white

2.23
#CDAA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CDAA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAA39
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAA39#FFFFFF#000000##000000
##CDAA391.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C5B23F
Tritanopia (blue-blind)
#DE9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cdaa39;
/* rgb */ color: rgb(205, 170, 57);
/* oklch */ color: oklch(75.0% 0.133 91.2);
Tailwind
colors: {
  custom: {
    50: '#e0c276',
    500: '#cdaa39',
    950: '#000000',
  },
}
SCSS
$custom: #cdaa39;
$custom-light: #e0c276;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaa39",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 45.811,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.13316,
    "h": 91.2
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

primary
#CDAA39
secondary
#90A0D2
accent
#6AE345
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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