#CDAC48#CDAC48

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

Color values

HEX#CDAC48
RGBrgb(205, 172, 72)
HSLhsl(45, 57%, 54%)
HSVhsv(45, 65%, 80%)
CMYKcmyk(0%, 16.1%, 64.9%, 19.6%)
CIE-LABlab(71.52, 0.84, 54.34)
CIE-LCHlch(71.52, 54.34, 89.11°)
OKLaboklab(75.49% -0.0017 0.1237)
OKLCHoklch(75.49% 0.124 90.8)
XYZxyz(41.1011, 42.9544, 12.2558)
Luminance0.4295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAC48 #4869CD
analogous
#CD6A48 #CDAC48 #ACCD48
triadic
#CDAC48 #48CDAC #AC48CD
tetradic
#CDAC48 #48CD6A #4869CD #CD48AC
square
#CDAC48 #48CD6A #4869CD #CD48AC
split-complementary
#CDAC48 #48ACCD #6A48CD
monochromatic
#796421 #A98B2E #CDAC48 #DAC278 #E7D8A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDAC48#FFFFFF#000000##000000
##CDAC481.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)
#BEAA3D
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#DD9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cdac48;
/* rgb */ color: rgb(205, 172, 72);
/* oklch */ color: oklch(75.5% 0.124 90.8);
Tailwind
colors: {
  custom: {
    50: '#e0c47f',
    500: '#cdac48',
    950: '#000000',
  },
}
SCSS
$custom: #cdac48;
$custom-light: #e0c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdac48",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 45.113,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75491,
    "c": 0.12372,
    "h": 90.8
  },
  "luminance": 0.42952
}

Semantic roles & 50–950 ramp

primary
#CDAC48
secondary
#9CAAD5
accent
#6DE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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