#CDC774#CDC774

#CDC774 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.105 H 104.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CDC774
RGBrgb(205, 199, 116)
HSLhsl(56, 47%, 63%)
HSVhsv(56, 43%, 80%)
CMYKcmyk(0%, 2.9%, 43.4%, 19.6%)
CIE-LABlab(79.09, -9.63, 42.17)
CIE-LCHlch(79.09, 43.25, 102.87°)
OKLaboklab(81.64% -0.027 0.1017)
OKLCHoklch(81.64% 0.105 104.9)
XYZxyz(48.7536, 55.0882, 24.5845)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC774 #747ACD
analogous
#CD9A74 #CDC774 #A6CD74
triadic
#CDC774 #74CDC7 #C774CD
tetradic
#CDC774 #74CD9A #747ACD #CD74A6
square
#CDC774 #74CD9A #747ACD #CD74A6
split-complementary
#CDC774 #74A6CD #9A74CD
monochromatic
#928C35 #BDB547 #CDC774 #DDD9A1 #EDEBCE

Accessibility & contrast

On white

1.75
#CDC774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CDC774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC774
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC774#FFFFFF#000000##000000
##CDC7741.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16D
Deuteranopia (green-blind)
#D6C678
Tritanopia (blue-blind)
#D9BDB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc774;
/* rgb */ color: rgb(205, 199, 116);
/* oklch */ color: oklch(81.6% 0.105 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded79d',
    500: '#cdc774',
    950: '#000000',
  },
}
SCSS
$custom: #cdc774;
$custom-light: #ded79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc774",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 116
  },
  "hsl": {
    "h": 55.955,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8164,
    "c": 0.10527,
    "h": 104.9
  },
  "luminance": 0.55087
}

Semantic roles & 50–950 ramp

primary
#CDC774
secondary
#4D5298
accent
#35BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC774

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

Preview Lab → · Contrast checker → · Palette generator →

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