#CDC471#CDC471

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

Color values

HEX#CDC471
RGBrgb(205, 196, 113)
HSLhsl(54, 48%, 62%)
HSVhsv(54, 45%, 80%)
CMYKcmyk(0%, 4.4%, 44.9%, 19.6%)
CIE-LABlab(78.26, -8.40, 42.63)
CIE-LCHlch(78.26, 43.45, 101.14°)
OKLaboklab(80.97% -0.0237 0.1026)
OKLCHoklch(80.97% 0.105 103)
XYZxyz(47.8985, 53.6526, 23.4524)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC471 #717ACD
analogous
#CD9671 #CDC471 #A8CD71
triadic
#CDC471 #71CDC4 #C471CD
tetradic
#CDC471 #71CD96 #717ACD #CD71A8
square
#CDC471 #71CD96 #717ACD #CD71A8
split-complementary
#CDC471 #71A8CD #9671CD
monochromatic
#918733 #BDB144 #CDC471 #DDD79E #EDEACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC471#FFFFFF#000000##000000
##CDC4711.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)
#D1BF6A
Deuteranopia (green-blind)
#D4C475
Tritanopia (blue-blind)
#D9BAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc471;
/* rgb */ color: rgb(205, 196, 113);
/* oklch */ color: oklch(81.0% 0.105 103.0);
Tailwind
colors: {
  custom: {
    50: '#ded59b',
    500: '#cdc471',
    950: '#000000',
  },
}
SCSS
$custom: #cdc471;
$custom-light: #ded59b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc471",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 113
  },
  "hsl": {
    "h": 54.13,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80966,
    "c": 0.1053,
    "h": 103
  },
  "luminance": 0.53651
}

Semantic roles & 50–950 ramp

primary
#CDC471
secondary
#4B5397
accent
#38BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC471

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

Preview Lab → · Contrast checker → · Palette generator →

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