#CDAD39#CDAD39

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

Color values

HEX#CDAD39
RGBrgb(205, 173, 57)
HSLhsl(47, 60%, 51%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 15.6%, 72.2%, 19.6%)
CIE-LABlab(71.67, -0.51, 60.76)
CIE-LCHlch(71.67, 60.77, 90.48°)
OKLaboklab(75.57% -0.0073 0.1348)
OKLCHoklch(75.57% 0.135 93.1)
XYZxyz(40.8611, 43.1640, 10.0494)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAD39 #3959CD
analogous
#CD6339 #CDAD39 #A3CD39
triadic
#CDAD39 #39CDAD #AD39CD
tetradic
#CDAD39 #39CD63 #3959CD #CD39A3
square
#CDAD39 #39CD63 #3959CD #CD39A3
split-complementary
#CDAD39 #39A3CD #6339CD
monochromatic
#6F5D1C #A08628 #CDAD39 #D9C16A #E6D59B

Accessibility & contrast

On white

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

On black

9.63
#CDAD39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAD39
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAD39#FFFFFF#000000##000000
##CDAD391.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA27
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#DE9F96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdad39;
/* rgb */ color: rgb(205, 173, 57);
/* oklch */ color: oklch(75.6% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#e0c577',
    500: '#cdad39',
    950: '#000000',
  },
}
SCSS
$custom: #cdad39;
$custom-light: #e0c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cdad39",
  "rgb": {
    "r": 205,
    "g": 173,
    "b": 57
  },
  "hsl": {
    "h": 47.027,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.13496,
    "h": 93.1
  },
  "luminance": 0.43162
}

Semantic roles & 50–950 ramp

primary
#CDAD39
secondary
#909ED2
accent
#67E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAD39

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

Preview Lab → · Contrast checker → · Palette generator →

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