#CDAC46#CDAC46

#CDAC46 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.5% C 0.125 H 91.0°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CDAC46
RGBrgb(205, 172, 70)
HSLhsl(45, 57%, 54%)
HSVhsv(45, 66%, 80%)
CMYKcmyk(0%, 16.1%, 65.9%, 19.6%)
CIE-LABlab(71.51, 0.72, 55.20)
CIE-LCHlch(71.51, 55.21, 89.25°)
OKLaboklab(75.47% -0.0023 0.1252)
OKLCHoklch(75.47% 0.125 91)
XYZxyz(41.0369, 42.9287, 11.9177)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC46 #4667CD
analogous
#CD6946 #CDAC46 #ABCD46
triadic
#CDAC46 #46CDAC #AC46CD
tetradic
#CDAC46 #46CD69 #4667CD #CD46AB
square
#CDAC46 #46CD69 #4667CD #CD46AB
split-complementary
#CDAC46 #46ABCD #6946CD
monochromatic
#786320 #A88A2D #CDAC46 #DAC276 #E7D7A6

Accessibility & contrast

On white

2.19
#CDAC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CDAC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAC46
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAC46#FFFFFF#000000##000000
##CDAC461.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3A
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#DD9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac46;
/* rgb */ color: rgb(205, 172, 70);
/* oklch */ color: oklch(75.5% 0.125 91.0);
Tailwind
colors: {
  custom: {
    50: '#e0c47e',
    500: '#cdac46',
    950: '#000000',
  },
}
SCSS
$custom: #cdac46;
$custom-light: #e0c47e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac46",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 70
  },
  "hsl": {
    "h": 45.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75471,
    "c": 0.12526,
    "h": 91
  },
  "luminance": 0.42926
}

Semantic roles & 50–950 ramp

primary
#CDAC46
secondary
#9BA9D4
accent
#6DE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAC46

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

Preview Lab → · Contrast checker → · Palette generator →

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