#CDC575#CDC575

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

Color values

HEX#CDC575
RGBrgb(205, 197, 117)
HSLhsl(55, 47%, 63%)
HSVhsv(55, 43%, 80%)
CMYKcmyk(0%, 3.9%, 42.9%, 19.6%)
CIE-LABlab(78.58, -8.51, 41.02)
CIE-LCHlch(78.58, 41.89, 101.72°)
OKLaboklab(81.24% -0.0237 0.0992)
OKLCHoklch(81.24% 0.102 103.4)
XYZxyz(48.3550, 54.1973, 24.7401)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC575 #757DCD
analogous
#CD9975 #CDC575 #A9CD75
triadic
#CDC575 #75CDC5 #C575CD
tetradic
#CDC575 #75CD99 #757DCD #CD75A9
square
#CDC575 #75CD99 #757DCD #CD75A9
split-complementary
#CDC575 #75A9CD #9975CD
monochromatic
#938A35 #BDB248 #CDC575 #DDD8A2 #EEEBCF

Accessibility & contrast

On white

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

On black

11.84
#CDC575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC575
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC575#FFFFFF#000000##000000
##CDC5751.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06F
Deuteranopia (green-blind)
#D5C478
Tritanopia (blue-blind)
#D9BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc575;
/* rgb */ color: rgb(205, 197, 117);
/* oklch */ color: oklch(81.2% 0.102 103.4);
Tailwind
colors: {
  custom: {
    50: '#ded69e',
    500: '#cdc575',
    950: '#000000',
  },
}
SCSS
$custom: #cdc575;
$custom-light: #ded69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc575",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 117
  },
  "hsl": {
    "h": 54.545,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81236,
    "c": 0.10203,
    "h": 103.4
  },
  "luminance": 0.54196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC575

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

Preview Lab → · Contrast checker → · Palette generator →

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