#CDAC39#CDAC39

#CDAC39 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.134 H 92.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CDAC39
RGBrgb(205, 172, 57)
HSLhsl(47, 60%, 51%)
HSVhsv(47, 72%, 80%)
CMYKcmyk(0%, 16.1%, 72.2%, 19.6%)
CIE-LABlab(71.41, 0.02, 60.51)
CIE-LCHlch(71.41, 60.51, 89.98°)
OKLaboklab(75.36% -0.0058 0.1342)
OKLCHoklch(75.36% 0.134 92.5)
XYZxyz(40.6701, 42.7820, 9.9857)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC39 #395ACD
analogous
#CD6239 #CDAC39 #A4CD39
triadic
#CDAC39 #39CDAC #AC39CD
tetradic
#CDAC39 #39CD62 #395ACD #CD39A4
square
#CDAC39 #39CD62 #395ACD #CD39A4
split-complementary
#CDAC39 #39A4CD #6239CD
monochromatic
#6F5D1C #A08628 #CDAC39 #D9C06A #E6D59B

Accessibility & contrast

On white

2.20
#CDAC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CDAC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC39
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC39#FFFFFF#000000##000000
##CDAC391.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA928
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac39;
/* rgb */ color: rgb(205, 172, 57);
/* oklch */ color: oklch(75.4% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e0c477',
    500: '#cdac39',
    950: '#000000',
  },
}
SCSS
$custom: #cdac39;
$custom-light: #e0c477;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac39",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 46.622,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75361,
    "c": 0.13435,
    "h": 92.5
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

primary
#CDAC39
secondary
#909FD2
accent
#68E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC39

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

Preview Lab → · Contrast checker → · Palette generator →

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