#CDC476#CDC476

#CDC476 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.100 H 102.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CDC476
RGBrgb(205, 196, 118)
HSLhsl(54, 47%, 63%)
HSVhsv(54, 42%, 80%)
CMYKcmyk(0%, 4.4%, 42.4%, 19.6%)
CIE-LABlab(78.33, -7.89, 40.20)
CIE-LCHlch(78.33, 40.97, 101.10°)
OKLaboklab(81.04% -0.0218 0.0975)
OKLCHoklch(81.04% 0.1 102.6)
XYZxyz(48.1878, 53.7684, 24.9760)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC476 #767FCD
analogous
#CD9876 #CDC476 #AACD76
triadic
#CDC476 #76CDC4 #C476CD
tetradic
#CDC476 #76CD98 #767FCD #CD76AA
square
#CDC476 #76CD98 #767FCD #CD76AA
split-complementary
#CDC476 #76AACD #9876CD
monochromatic
#938936 #BDB149 #CDC476 #DDD7A3 #EEEBD0

Accessibility & contrast

On white

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

On black

11.75
#CDC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC476
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC476#FFFFFF#000000##000000
##CDC4761.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc476;
/* rgb */ color: rgb(205, 196, 118);
/* oklch */ color: oklch(81.0% 0.100 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded59f',
    500: '#cdc476',
    950: '#000000',
  },
}
SCSS
$custom: #cdc476;
$custom-light: #ded59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc476",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 53.793,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81042,
    "c": 0.09986,
    "h": 102.6
  },
  "luminance": 0.53767
}

Semantic roles & 50–950 ramp

primary
#CDC476
secondary
#4E5699
accent
#3ABA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC476

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

Preview Lab → · Contrast checker → · Palette generator →

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