#CDAC36#CDAC36

#CDAC36 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.3% C 0.136 H 92.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CDAC36
RGBrgb(205, 172, 54)
HSLhsl(47, 60%, 51%)
HSVhsv(47, 74%, 80%)
CMYKcmyk(0%, 16.1%, 73.7%, 19.6%)
CIE-LABlab(71.39, -0.12, 61.64)
CIE-LCHlch(71.39, 61.64, 90.11°)
OKLaboklab(75.34% -0.0066 0.1361)
OKLCHoklch(75.34% 0.136 92.8)
XYZxyz(40.5974, 42.7529, 9.6031)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC36 #3657CD
analogous
#CD6036 #CDAC36 #A3CD36
triadic
#CDAC36 #36CDAC #AC36CD
tetradic
#CDAC36 #36CD60 #3657CD #CD36A3
square
#CDAC36 #36CD60 #3657CD #CD36A3
split-complementary
#CDAC36 #36A3CD #6036CD
monochromatic
#6D5B1B #9E8427 #CDAC36 #D9C067 #E5D498

Accessibility & contrast

On white

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

On black

9.55
#CDAC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC36
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC36#FFFFFF#000000##000000
##CDAC361.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdac36;
/* rgb */ color: rgb(205, 172, 54);
/* oklch */ color: oklch(75.3% 0.136 92.8);
Tailwind
colors: {
  custom: {
    50: '#e0c475',
    500: '#cdac36',
    950: '#000000',
  },
}
SCSS
$custom: #cdac36;
$custom-light: #e0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac36",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 46.887,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75339,
    "c": 0.13621,
    "h": 92.8
  },
  "luminance": 0.42751
}

Semantic roles & 50–950 ramp

primary
#CDAC36
secondary
#8E9DD1
accent
#67E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAC36

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

Preview Lab → · Contrast checker → · Palette generator →

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