#CDC574#CDC574

#CDC574 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.103 H 103.5°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CDC574
RGBrgb(205, 197, 116)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.9%, 43.4%, 19.6%)
CIE-LABlab(78.56, -8.61, 41.51)
CIE-LCHlch(78.56, 42.39, 101.72°)
OKLaboklab(81.22% -0.0241 0.1003)
OKLCHoklch(81.22% 0.103 103.5)
XYZxyz(48.2965, 54.1739, 24.4321)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC574 #747CCD
analogous
#CD9874 #CDC574 #A8CD74
triadic
#CDC574 #74CDC5 #C574CD
tetradic
#CDC574 #74CD98 #747CCD #CD74A8
square
#CDC574 #74CD98 #747CCD #CD74A8
split-complementary
#CDC574 #74A8CD #9874CD
monochromatic
#928A35 #BDB247 #CDC574 #DDD8A1 #EDEBCE

Accessibility & contrast

On white

1.77
#CDC574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CDC574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC574
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC574#FFFFFF#000000##000000
##CDC5741.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D5C477
Tritanopia (blue-blind)
#D9BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc574;
/* rgb */ color: rgb(205, 197, 116);
/* oklch */ color: oklch(81.2% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded69d',
    500: '#cdc574',
    950: '#000000',
  },
}
SCSS
$custom: #cdc574;
$custom-light: #ded69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc574",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 116
  },
  "hsl": {
    "h": 54.607,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.10312,
    "h": 103.5
  },
  "luminance": 0.54173
}

Semantic roles & 50–950 ramp

primary
#CDC574
secondary
#4D5498
accent
#38BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC574

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

Preview Lab → · Contrast checker → · Palette generator →

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