#CDC474#CDC474

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

Color values

HEX#CDC474
RGBrgb(205, 196, 116)
HSLhsl(54, 47%, 63%)
HSVhsv(54, 43%, 80%)
CMYKcmyk(0%, 4.4%, 43.4%, 19.6%)
CIE-LABlab(78.30, -8.09, 41.18)
CIE-LCHlch(78.30, 41.96, 101.12°)
OKLaboklab(81.01% -0.0226 0.0995)
OKLCHoklch(81.01% 0.102 102.8)
XYZxyz(48.0702, 53.7213, 24.3567)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC474 #747DCD
analogous
#CD9874 #CDC474 #A9CD74
triadic
#CDC474 #74CDC4 #C474CD
tetradic
#CDC474 #74CD98 #747DCD #CD74A9
square
#CDC474 #74CD98 #747DCD #CD74A9
split-complementary
#CDC474 #74A9CD #9874CD
monochromatic
#928935 #BDB147 #CDC474 #DDD7A1 #EDEACE

Accessibility & contrast

On white

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

On black

11.74
#CDC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC474
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC474#FFFFFF#000000##000000
##CDC4741.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6E
Deuteranopia (green-blind)
#D4C477
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc474;
/* rgb */ color: rgb(205, 196, 116);
/* oklch */ color: oklch(81.0% 0.102 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded59d',
    500: '#cdc474',
    950: '#000000',
  },
}
SCSS
$custom: #cdc474;
$custom-light: #ded59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc474",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 53.933,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.10206,
    "h": 102.8
  },
  "luminance": 0.5372
}

Semantic roles & 50–950 ramp

primary
#CDC474
secondary
#4D5498
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC474

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

Preview Lab → · Contrast checker → · Palette generator →

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