#CDC472#CDC472

#CDC472 is a light, moderate yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.104 H 102.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CDC472
RGBrgb(205, 196, 114)
HSLhsl(54, 48%, 63%)
HSVhsv(54, 44%, 80%)
CMYKcmyk(0%, 4.4%, 44.4%, 19.6%)
CIE-LABlab(78.27, -8.30, 42.14)
CIE-LCHlch(78.27, 42.95, 101.14°)
OKLaboklab(80.98% -0.0233 0.1016)
OKLCHoklch(80.98% 0.104 102.9)
XYZxyz(47.9551, 53.6753, 23.7506)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC472 #727BCD
analogous
#CD9772 #CDC472 #A8CD72
triadic
#CDC472 #72CDC4 #C472CD
tetradic
#CDC472 #72CD97 #727BCD #CD72A8
square
#CDC472 #72CD97 #727BCD #CD72A8
split-complementary
#CDC472 #72A8CD #9772CD
monochromatic
#918833 #BDB145 #CDC472 #DDD79F #EDEACC

Accessibility & contrast

On white

1.79
#CDC472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CDC472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC472
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC472#FFFFFF#000000##000000
##CDC4721.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6B
Deuteranopia (green-blind)
#D4C475
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc472;
/* rgb */ color: rgb(205, 196, 114);
/* oklch */ color: oklch(81.0% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded59c',
    500: '#cdc472',
    950: '#000000',
  },
}
SCSS
$custom: #cdc472;
$custom-light: #ded59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc472",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 54.066,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80981,
    "c": 0.10422,
    "h": 102.9
  },
  "luminance": 0.53674
}

Semantic roles & 50–950 ramp

primary
#CDC472
secondary
#4C5397
accent
#39BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC472

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

Preview Lab → · Contrast checker → · Palette generator →

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